![]()  | 
Routines | 
| Prev: A16D | Up: Map | Next: A1C8 | 
| 
 | 
||||
| A1B4 | PUSH DE | Stash DE and BC on the stack. | ||
| A1B5 | PUSH BC | |||
| A1B6 | EX DE,HL | Exchange the DE and HL registers. | ||
| A1B7 | LD L,A | L=A. | ||
| A1B8 | LD H,$00 | H=00. | ||
| A1BA | CALL $A155 | Call A155. | ||
| A1BD | ADD HL,DE | HL+=DE. | ||
| A1BE | LD B,C | B=C. | ||
| A1BF | INC B | Increment B by one. | ||
| A1C0 | XOR A | A=00. | ||
| A1C1 | SCF | Set the carry flag. | ||
| A1C2 | RLA | RLA. | ||
| A1C3 | DJNZ $A1C2 | Decrease counter by one and loop back to A1C2 until counter is zero. | ||
| A1C5 | POP BC | Restore BC and DE from the stack. | ||
| A1C6 | POP DE | |||
| A1C7 | RET | Return. | ||
| Prev: A16D | Up: Map | Next: A1C8 |