Prev: 26437 Up: Map Next: 26467
26452: Get Table Entry
Retrieve an address from a table using a given index.
Input
E Index of the entry
IX Base table address
Output
HL Address from the table entry
IX Address of the table entry
GetTableEntry 26452 LD D,0 Look up the address stored at this index.
26454 SLA E
26456 RL D
26458 ADD IX,DE
26460 LD L,(IX+0)
26463 LD H,(IX+1)
26466 RET Return.
Prev: 26437 Up: Map Next: 26467