NEC 78K/0S Series User Manual page 89

8-bit single-chip microcontroller
Table of Contents

Advertisement

SET1
[Instruction format]
[Operation]
[Operand]
Mnemonic
SET1
saddr.bit
sfr.bit
A.bit
PSW.bit
[HL].bit
CY
[Flag]
dst = PSW.bit
Z
AC
×
×
[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 0FE55H.1; Bit 1 of FE55H is set (1).
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
SET1 dst
dst ← 1
Operand (dst)
dst = CY
CY
Z
×
User's Manual U11047EJ3V0UM00
Set Single Bit (Carry Flag)
AC
CY
1
1 Bit Data Set
In all other cases
Z
AC
CY
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents