![]() |
Unused |
| Prev: A181 | Up: Map | Next: A1B4 |
|
Unused. Nothing in the game calls this routine.
|
||||||||||||
|
HL=-HL.
|
||||||||||||
| NegateWord | A1AA | PUSH DE | Stash DE on the stack. | |||||||||
| A1AB | EX DE,HL | Switch the word into DE. | ||||||||||
| A1AC | LD HL,$0000 | HL=0000. | ||||||||||
| A1AF | AND A | HL=HL-DE. | ||||||||||
| A1B0 | SBC HL,DE | |||||||||||
| A1B2 | POP DE | Restore DE from the stack. | ||||||||||
| A1B3 | RET | Return. | ||||||||||
| Prev: A181 | Up: Map | Next: A1B4 |