Set1 – NEC 78K/0 Series User Manual

Page 90

Advertising
background image

90

CHAPTER 5 EXPLANATION OF INSTRUCTIONS

User's Manual U12326EJ4V0UM

Set Single Bit (Carry Flag)

SET1

1 Bit Data Set

[Instruction format]

SET1 dst

[Operation]

dst

1

[Operand]

Mnemonic

Operand(dst)

SET1

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

Ч

Ч

Ч

1

[Description]

The destination operand (dst) is set (1).

When the destination operand (dst) is CY or PSW.bit, only the corresponding flag is set (1).

[Description example]

SET1 FE55H.1; Bit 1 of FE55H is set (1).

Advertising