DR805x Instructions set details
- 76 -
3.43. XCHD
Instruction:
Function:
XCHD A, @Ri
Exchange digit
Description: 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.
Operation:
(PC) ← (PC) + 1
(A3-0) ↔ ((Ri)3-0)
Bytes:
Cycles:
1
3
Encoding:
1
1
0
1
0
1
1
i
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.