CHAPTER 5 EXPLANATION OF INSTRUCTIONS
89
User's Manual U12326EJ4V0UM
Exclusive Or Single Bit
XOR1 1 Bit Data Exclusive Logical Sum
[Instruction format] XOR1 dst, src
[Operation] dst dst src
[Operand]
Mnemonic Operand(dst,src)
XOR1 CY, saddr.bit
CY, sfr.bit
CY, A.bit
CY, PSW.bit
CY, [HL].bit
[Flag]
ZACCY
×
[Description]
The exclusive logical sum of bit data of the destination operand (dst) specified by the 1st operand and the
source operand (src) specified by the 2nd operand is obtained and the result is stored in the destination
operand (dst).
The operation result is stored in the CY flag (because of the destination operand (dst)).
[Description example]
XOR1 CY, A.7; The exclusive logical sum of the A register bit 7 and the CY flag is obtained and the result
is stored in the CY flag.