English
Language : 

DR805X Datasheet, PDF (74/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.41. SWAP
- 74 -
Instruction: SWAP A
Function: Swap nibbles within the accumulator
Description: SWAP A interchanges the low and high-order nibbles (four-bit fields) of
the accumulator (bits 3-0 and bits 7-4). The operation can also be
thought of as a four-bit rotate instruction. No flags are affected.
Operation:
(PC) ← (PC) + 1
(A3-0) ↔ (A7-4),
(A7-4) ↔ (A3-0)
Bytes:
1
Cycles:
1
Encoding:
11000100
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.