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

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
XCHD
Function:
Description:
Example:
Operation:
Encoding:
Bytes:
Cycles:
Semiconductor Group
A,@Ri
Exchange digit
XCHD exchanges the low-order nibble of the accumulator (bits 3-0, generally
representing a hexadecimal or BCD digit), with that of the internal RAM location
indirectly addressed by the specified register. The high-order nibbles (bits 7-4) of
each register are not affected. No flags are affected.
R0 contains the address 20 H . The accumulator holds the value 36 H (00110110 B ).
Internal RAM location 20 H holds the value 75 H (01110101 B ). The instruction
XCHD
will leave RAM location 20 H holding the value 76 H (01110110 B ) and 35 H
(00110101 B ) in the accumulator.
XCHD
(A3-0)
1
1
1 1 0 1
A, @ R0
((Ri)3-0)
0 1 1 i
247
Instruction Set

Related parts for SAB80C517-M16