![]() |
Routines |
Prev: 41600 | Up: Map | Next: 41748 |
Used by the routines at Handler_Images, 41600, 42031, Parser_ValidateItem, ValidateObject, 42751, 43160, 43186, 43257, 43277, 43300, 43335, Handler_ScenicEvents and 44284.
Retrieves an address from a table using a given index.
|
||||||||||||||||
GetTableEntry | 41733 | LD D,0 | Multiply the given index by 2 and store the result in DE. | |||||||||||||
41735 | SLA E | |||||||||||||||
41737 | RL D | |||||||||||||||
41739 | ADD IX,DE | Add DE to the base table address. | ||||||||||||||
41741 | LD L,(IX+0) | Fetch the relevant table address and store it in HL. | ||||||||||||||
41744 | LD H,(IX+1) | |||||||||||||||
41747 | RET | Return. | ||||||||||||||
View the equivalent code in;
|
Prev: 41600 | Up: Map | Next: 41748 |