Prev: A181 Up: Map Next: A1B4
A1AA: Negate Word
Negates the word in HL. Nothing in the game calls it.
Input
HL Word to negate
Output
HL The negated word
Negate the word in HL. Nothing in the game calls this.
NegateWord A1AA PUSH DE Nothing in the game uses this negated word.
A1AB EX DE,HL
A1AC LD HL,$0000
A1AF AND A
A1B0 SBC HL,DE
A1B2 POP DE Restore DE from the stack.
A1B3 RET Return.
Prev: A181 Up: Map Next: A1B4