You are here : assembly8051SWAP

SWAP - 8051

The SWAP instruction exchanges the low-order and high-order nibbles within the accumulator.

No flags are affected by this instruction.


Syntax

SWAP A


Example

SWAP A		;1 byte 1 cycle


Output / Return Value


Limitations


Alternatives / See Also


Reference