Email: Password: Remember Me | Create Account (Free)
8051/8052 Instruction: SWAP

Function:Swap Accumulator Nibbles
Syntax:SWAP A

SWAP A0xC411None

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