Routines |
Prev: 94CC | Up: Map | Next: 9562 |
Used by the routine at 9270.
|
||||
953F | LD BC,$99F0 | BC=99F0. | ||
9542 | LD HL,($99A7) | HL=*99A7. | ||
9545 | AND A | Set flags. | ||
9546 | SBC HL,BC | HL-=BC. | ||
9548 | RET Z | Return if {} is zero. | ||
9549 | SRL L | Shift L right. | ||
954B | LD B,L | B=L. | ||
954C | LD HL,$99F0 | HL=99F0. | ||
954F | PUSH BC | Stash BC on the stack. | ||
9550 | LD E,(HL) | E=*HL. | ||
9551 | INC HL | Increment HL by one. | ||
9552 | LD D,(HL) | D=*HL. | ||
9553 | INC HL | Increment HL by one. | ||
9554 | LD ($99A7),HL | Write HL to *99A7. | ||
9557 | EX DE,HL | Exchange the DE and HL registers. | ||
9558 | CALL $9562 | Call 9562. | ||
955B | LD HL,($99A7) | HL=*99A7. | ||
955E | POP BC | Restore BC from the stack. | ||
955F | DJNZ $954F | Decrease counter by one and loop back to 954F until counter is zero. | ||
9561 | RET | Return. |
Prev: 94CC | Up: Map | Next: 9562 |