Operation: | XCHD |
Function: | Exchange Digit |
Syntax: | XCHD A,[@R0/@R1] |
Instructions | OpCode | Bytes | Cycles | Flags |
XCHD A,@R0 | 0xD6 | 1 | 1 | None |
XCHD A,@R1 | 0xD7 | 1 | 1 | None |
Description: Exchanges bits 0-3 of the Accumulator with bits 0-3 of the Internal RAM address pointed to indirectly by R0 or R1. Bits 4-7 of each register are unaffected.
See Also: DA, Instruction Set