Operation: | SWAP |
Function: | Swap Accumulator Nibbles |
Syntax: | SWAP A |
Instructions | OpCode | Bytes | Cycles | Flags |
SWAP A | 0xC4 | 1 | 1 | None |
Description: SWAP swaps bits 0-3 of the Accumulator with bits 4-7 of the Accumulator. This instruction is identical to executing "RR A" or "RL A" four times.
See Also: RL, RLC, RR, RRC, Instruction Set