![]() |
Routines |
| Prev: F895 | Up: Map | Next: F8B9 |
|
Used by the routines at shift_flat_piece and shift_slope_piece.
ORs the high part of the byte at HL into the byte at HL' and moves on to the next, then ORs the low part into that one: the byte that spills over is left there for the next byte's high part to join.
|
||||||||||||
| shift_byte_forward | F8AA | LD E,(HL) | High part, into this byte; on to the next | |||||||||
| F8AB | LD A,(DE) | |||||||||||
| F8AC | EXX | |||||||||||
| F8AD | OR (HL) | |||||||||||
| F8AE | LD (HL),A | |||||||||||
| F8AF | INC HL | |||||||||||
| F8B0 | EXX | |||||||||||
| F8B1 | INC D | Low part, into the next byte | ||||||||||
| F8B2 | LD A,(DE) | |||||||||||
| F8B3 | DEC D | |||||||||||
| F8B4 | EXX | |||||||||||
| F8B5 | OR (HL) | |||||||||||
| F8B6 | LD (HL),A | |||||||||||
| F8B7 | EXX | |||||||||||
| F8B8 | RET | |||||||||||
| Prev: F895 | Up: Map | Next: F8B9 |