 | 8051 Instruction Set Manual |  |
|
|
| SWAPThe SWAP instruction exchanges the low-order and high-order nibbles within the accumulator. No flags are affected by this instruction. See Also: XCH, XCHD | Bytes | 1 | | Cycles | 1 | | Encoding | | | Operation |
SWAP
A3-0 swap A7-4
| | Example |
SWAP A
|
|
|