Prev: AA25 Up: Map Next: AA41
AA3C: Add To Address
Input
A The value
HL The address
Output
HL The address plus the value
AddToAddress AA3C ADD A,L Add the value to the low byte of the address.
AA3D LD L,A Store it.
AA3E RET NC Return if there was no carry.
AA3F INC H Increase the high byte of the address.
AA40 RET Return.
Prev: AA25 Up: Map Next: AA41