This instructions swap or exchange the higher order bits (bit no. 4 to 7) of Accumulator with lower order bits ( bit no. 0 to 3) of Accumulator. This instruction is similar to executing RRA or RLA instruction 4 times.
Syntax : SWAP A
Example : SWAP A
Syntax : SWAP A
Example : SWAP A
- Instruction
- Opcode
- Bytes
- Flags
- SWAP A
- 0xC4
- 1
- None