![]() |
Routines |
| Prev: A0E7 | Up: Map | Next: A104 |
|
This will be restored back into HL by the end of the routine.
|
||||
| A0F7 | PUSH HL | Stash HL on the stack temporarily. | ||
| A0F8 | LD L,(IX-$02) | L=*IX-02. | ||
| A0FB | LD H,(IX-$01) | H=*IX-01. | ||
| A0FE | LD A,L | Is HL zero? | ||
| A0FF | OR H | |||
|
Pretty clever way of using the stack here.
|
||||
| A100 | EX (SP),HL | Swap the *SP with the object pointer, restoring HL to the original value. | ||
| A101 | POP IX | Restore the object pointer into IX (from the stack). | ||
| A103 | RET | Return. | ||
| Prev: A0E7 | Up: Map | Next: A104 |