Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->SWAP
SWAP Swap Nibbles in Accumulator
This instruction interchanges the low and high order nibbles ( 4 bit fields) of the accumulator. Bits 3-0 are exchanged with bits 7-4. The effect is the same as a 4 bit rotate instruction.
No flags are affected.
Formats:
Description | Mnemonic | Bytes | Cycles |
Swap Nibbles | SWAP | 1 | 1 |