Prev: 35121 Up: Map Next: 35151
35143: Negate Pair
Two's-complement HL and return.
Input
HL Value to negate
Output
HL Negated value
NegatePair 35143 LD A,L Invert HL and add one.
35144 CPL
35145 LD L,A
35146 LD A,H
35147 CPL
35148 LD H,A
35149 INC HL
35150 RET Return.
Prev: 35121 Up: Map Next: 35151