Prev: 9260 Up: Map Next: 9273
926C: Add an unsigned byte to HL
Used by the routines at DOOR_NEEDS_KEY and WORKSPACE_AND_DRAW.
Four instructions to do what the Z80 has no single instruction for. Used wherever a table is indexed by a byte, which is most places.
ADD_A_TO_HL 926C ADD A,L
926D LD L,A
926E LD A,H
926F ADC A,$00
9271 LD H,A
9272 RET
Prev: 9260 Up: Map Next: 9273