Clr1 – NEC 78K/0 Series User Manual

Page 91

Advertising
background image

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

91

User's Manual U12326EJ4V0UM

Clear Single Bit (Carry Flag)

CLR1

1 Bit Data Clear

[Instruction format]

CLR1 dst

[Operation]

dst

0

[Operand]

Mnemonic

Operand(dst)

CLR1

saddr.bit

sfr.bit

A.bit

PSW.bit

[HL].bit

CY

[Flag]

dst = PSW.bit

dst = CY

In all other cases

Z

AC

CY

Z

AC

CY

Z

AC

CY

Ч

Ч

Ч

0

[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).

Advertising