278
µPD750008 USER'S MANUAL
OR rp’1,XA
Function: rp’1 <– rp’ XA
ORs the contents of register pair rp’1 (HL, DE, BC, XA’, HL’, DE’, BC’) with the contents of the XA register
pair, then sets the result in register pair rp’1.
XOR A,#n4
Function: A <– A n4 n4 = I3-0: 0-FH
Exclusive-ORs the contents of the A register with the 4-bit immediate data n4, then sets the result in the
A register.
Example The high-order four bits of an accumulator is inverted.
XOR A,#1000B
XOR A,@HL
Function: A <– A (HL)
Exclusive-ORs the contents of the A register with the data at the data memory location addressed by the
HL register pair, then sets the result in the A register.
XOR XA,rp’
Function: XA <– XA rp’
Exclusive-ORs the contents of the XA register pair with the contents of register pair rp’ (XA, HL, DE, BC,
XA’, HL’, DE’, BC’), then sets the result in the XA register pair.
XOR rp’1,XA
Function: rp’1 <– rp’1 XA
Exclusive-ORs the contents of register pair rp’1 (HL, DE, BC, XA’, HL’, DE’, BC’) with the contents of the
XA register pair, then sets the result in register pair rp’1.