![]() |
Unused |
| Prev: 41345 | Up: Map | Next: 41396 |
|
Unused. Nothing in the game calls this routine.
|
||||||||||||
|
HL=-HL.
|
||||||||||||
| NegateWord | 41386 | PUSH DE | Stash DE on the stack. | |||||||||
| 41387 | EX DE,HL | Switch the word into DE. | ||||||||||
| 41388 | LD HL,0 | HL=0000. | ||||||||||
| 41391 | AND A | HL=HL-DE. | ||||||||||
| 41392 | SBC HL,DE | |||||||||||
| 41394 | POP DE | Restore DE from the stack. | ||||||||||
| 41395 | RET | Return. | ||||||||||
| Prev: 41345 | Up: Map | Next: 41396 |