Email: Password: Remember Me | Create Account (Free)
8051/8052 Instruction: XCHD

Function:Exchange Digit
Syntax:XCHD A,[@R0/@R1]

XCHD A,@R00xD611None
XCHD A,@R10xD711None

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