SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 243

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
SWAP
Function:
Description:
Example:
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
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.
The accumulator holds the value 0C5 H (11000101 B ). The instruction
SWAP
leaves the accumulator holding the value 5C H (01011100 B ).
SWAP
(A3-0)
1
1
1 1 0 0
A
(A7-4), (A7-4)
0 1 0 0
(A3-0)
244
Instruction Set

Related parts for SAB80C517-M16