NEC 78K/0 Series User Manual page 89

Nec computer hardware user's manual
Hide thumbs Also See for 78K/0 Series:
Table of Contents

Advertisement

XOR1
[Instruction format]
[Operation]
[Operand]
Mnemonic
XOR1
CY, saddr.bit
CY, sfr.bit
CY, A.bit
CY, PSW.bit
CY, [HL].bit
[Flag]
Z
AC
[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.
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
XOR1 dst, src
dst ← dst ∨ src
Operand(dst,src)
CY
×
User's Manual U12326EJ4V0UM
Exclusive Or Single Bit
1 Bit Data Exclusive Logical Sum
89

Advertisement

Table of Contents
loading

Table of Contents