NEC 78K/0 Series User Manual page 91

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

Advertisement

CLR1
[Instruction format]
[Operation]
[Operand]
Mnemonic
CLR1
saddr.bit
sfr.bit
A.bit
PSW.bit
[HL].bit
CY
[Flag]
dst = PSW.bit
Z
AC
×
×
[Description]
• The destination operand (dst) is cleared (0).
• When the destination operand (dst) is CY or PSW.bit, only the corresponding flag is cleared (0).
[Description example]
CLR1 P3.7; Bit 7 of port 3 is cleared (0).
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
CLR1 dst
dst ← 0
Operand(dst)
dst = CY
CY
Z
×
User's Manual U12326EJ4V0UM
In all other cases
AC
CY
0
Clear Single Bit (Carry Flag)
1 Bit Data Clear
Z
AC
CY
91

Advertisement

Table of Contents
loading

Table of Contents