CHAPTER 5 EXPLANATION OF INSTRUCTIONS
87
User's Manual U12326EJ4V0UM
And Single Bit
AND1 1 Bit Data Logical Product
[Instruction format] AND1 dst, src
[Operation] dst dst src
[Operand]
Mnemonic Operand(dst,src)
AND1 CY, saddr.bit
CY, sfr.bit
CY, A.bit
CY, PSW.bit
CY, [HL].bit
[Flag]
ZACCY
×
[Description]
Logical product 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]
AND1 CY, FE7FH.3; Logical product of FE7FH bit 3 and the CY flag is obtained and the result is stored in
the CY flag.