beautypg.com

Set f,i, Set decimal flag, Set flags using immediate data i – Epson 6200A User Manual

Page 85

background image

Source Format:

Operation:

OP-Code:

Type:

Clock Cycles:

Flag:

Description:

Example:

Source Format:

Operation:

OP-Code:

Type:

Clock Cycles:

Flag:

Description:

Example:

MSB

LSB

MSB

LSB

C

Z

D

I

C

Z

D

I

S1C6200/6200A CORE CPU MANUAL

EPSON

79

3 INSTRUCTION SET

SDF

Set decimal flag

SDF

D

1

1

1

1

1

0

1

0

0

0

1 0

0

F44H

VI

7

Not affected
Not affected
Set
Not affected

Sets the D (decimal) flag.

SDF

D flag

0

1

SET F,i

Set flags using immediate data i

SET F,i

F

F

i

3

to i

0

1

1

1

1

0

1

0

0

i

3

i

2

i

1

i

0

F40H to F4FH

IV

7

Set if i

0

is 1; otherwise, not affected.

Set if i

1

is 1; otherwise, not affected.

Set if i

2

is 1; otherwise, not affected.

Set if i

3

is 1; otherwise, not affected.

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

1111