Routines
| Prev: D078 | Up: Map | Next: D0DC |
D0D0: Put word HL into the 'YOU ARE ...' message
|
Writes it, as a word token (bit 7 set), at $68DE.
|
||||||||||||||
| D0D0 | PUSH DE | Save DE on the stack - Store word HL, with bit 7 of its high byte set, big-endian at $68DE in the YOU ARE message | ||||||||||||
| D0D1 | LD DE,$68DE | Point DE at $68DE in "Message: "YOU ARE IN"" | ||||||||||||
| D0D4 | EX DE,HL | Swap DE and HL | ||||||||||||
| D0D5 | SET 7,D | Set bit 7 of D | ||||||||||||
| D0D7 | LD (HL),D | Store D at the address HL points to | ||||||||||||
| D0D8 | INC HL | Step HL on to the next byte | ||||||||||||
| D0D9 | LD (HL),E | Store E at the address HL points to | ||||||||||||
| D0DA | POP DE | Restore DE from the stack | ||||||||||||
| D0DB | RET | Return to the caller | ||||||||||||
| Prev: D078 | Up: Map | Next: D0DC |