English
Language : 

DR805X Datasheet, PDF (76/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.43. XCHD
- 76 -
Instruction: XCHD A, @Ri
Function: 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:
1
Cycles:
3
Encoding:
1101011 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.