Prev: 27071 Up: Map Next: 27099
27085: Action: Swap Flags
Exchanges flag B with the flag addressed by A.
SwapFlags 27085 CALL FlagAddress Point at flag B.
27088 PUSH HL
27089 LD C,(HL) Point at the flag selected by A.
27090 LD B,A
27091 CALL FlagAddress
27094 LD A,(HL) Exchange the two flag bytes.
27095 LD (HL),C
27096 POP HL
27097 LD (HL),A
27098 RET Return.
Prev: 27071 Up: Map Next: 27099