DR805x Instructions set details
- 74 -
3.41.
SWAP
SWAP A
Swap nibbles within the accumulator
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.
(PC)
←
(PC) + 1
(A3-0)
↔
(A7-4),
(A7-4)
↔
(A3-0)
1
1
Instruction:
Function:
Description:
Operation:
Bytes:
Cycles:
Encoding:
1
1
0
0
0
1
0
0
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.