NEC 78K/0 Series User Manual page 87

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

Advertisement

AND1
[Instruction format]
[Operation]
[Operand]
Mnemonic
AND1
CY, saddr.bit
CY, sfr.bit
CY, A.bit
CY, PSW.bit
CY, [HL].bit
[Flag]
Z
AC
[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
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
AND1 dst, src
dst ← dst ∧ src
Operand(dst,src)
CY
×
the CY flag.
User's Manual U12326EJ4V0UM
And Single Bit
1 Bit Data Logical Product
87

Advertisement

Table of Contents
loading

Table of Contents