Prev: 49332 Up: Map Next: 49362
49347: Get Table Entry
Fetch one address from a table of addresses.
Input
E Index of the entry
IX Base table address
Output
HL Address from the table entry
IX Address of the table entry
GetTableEntry 49347 LD D,0 Double the index and add it to the table.
49349 SLA E
49351 RL D
49353 ADD IX,DE
49355 LD L,(IX+0) Copy that address out of the table.
49358 LD H,(IX+1)
49361 RET Return.
Prev: 49332 Up: Map Next: 49362