Prev: 64623 Up: Map Next: 64637
64627: Load address with index A in a list of addresses at HL into HL
Used by the routines at 38841, 39014, 39189, 39655, 63598 and 64623.
Input
A Index of required entry in list (0 is first)
HL Address of start of list
Output
HL A-th address in list at HL (input)
64627 ADD A,A Double offset value...
64628 LD D,0 ...and load into DE...
64630 LD E,A ...
64631 ADD HL,DE Add doubled offset to address in HL
This entry point is used by the routines at 41035 and 63504.
64632 LD A,(HL) Load address at HL into HL...
64633 INC HL ...
64634 LD H,(HL) ...
64635 LD L,A ...
64636 RET Return
Prev: 64623 Up: Map Next: 64637