Set Decimal Flag; Set F,I; Set Flags Using Immediate Data I - Epson 6200A Core Cpu Manual

Core cpu cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

SDF
Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:

SET F,i

Source Format:
Operation:
OP-Code:
Type:
Clock Cycles:
Flag:
Description:
Example:
S1C6200/6200A CORE CPU MANUAL

Set decimal flag

SDF
D
1
1 1 1 1 0 1 0 0
MSB
VI
7
C –
Not affected
Z –
Not affected
D –
Set
I –
Not affected
Sets the D (decimal) flag.
D flag
0

Set flags using immediate data i

SET F,i
F
F
i
to i
3
0
1 1 1 1 0 1 0 0
MSB
IV
7
C –
Set if i
is 1; otherwise, not affected.
0
Z –
Set if i
is 1; otherwise, not affected.
1
D –
Set if i
is 1; otherwise, not affected.
2
I –
Set if i
is 1; otherwise, not affected.
3
Performs a logical OR operation between immediate data i and the contents of the
flags. The results are stored in each respective flag.
SET F,0DH
Flags (C,Z,D,I)
0011
0 1 0 0
F44H
LSB
SDF
1
i
i
i
i
F40H to F4FH
3
2
1
0
LSB
1111
EPSON
3 INSTRUCTION SET
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c6200S1c6200a

Table of Contents