![]() |
Routines |
| Prev: 69BF | Up: Map | Next: 69DB |
|
Exchanges flag B with the flag addressed by A.
|
||||||||||
| SwapFlags | 69CD | CALL FlagAddress | Call FlagAddress. | |||||||
| 69D0 | PUSH HL | Stash that pointer on the stack. | ||||||||
| 69D1 | LD C,(HL) | Keep the first flag's value. | ||||||||
| 69D2 | LD B,A | Point at the flag selected by A. | ||||||||
| 69D3 | CALL FlagAddress | |||||||||
| 69D6 | LD A,(HL) | Exchange the two flag bytes. | ||||||||
| 69D7 | LD (HL),C | |||||||||
| 69D8 | POP HL | |||||||||
| 69D9 | LD (HL),A | |||||||||
| 69DA | RET | Return. | ||||||||
| Prev: 69BF | Up: Map | Next: 69DB |