beautypg.com

Adc yh,i, Adc yl,i, Add with carry immediate data i to yh – Epson 6200A User Manual

Page 37: Add with carry immediate data i to yl

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

31

3 INSTRUCTION SET

ADC YH,i

Add with carry immediate data i to YH

ADC YH,i

YH

YH + i

3

to i

0

+ C

1

0

1

0

0

0

1

0

i

3

i

2

i

1

i

0

A20H to A2FH

IV

7

Set if a carry is generated; otherwise, reset.
Set if the result is zero; otherwise, reset.
Not affected
Not affected

Adds the carry bit and immediate data i to YH, the four high-order bits of YHL.

ADC YH,3

ADC YH,6

YH register

1010

1110

0100

C flag

1

0

1

Z flag

0

0

0

ADC YL,i

Add with carry immediate data i to YL

ADC YL,i

YL

YL + i

3

to i

0

+ C

1

0

1

0

0

0

1

1

i

3

i

2

i

1

i

0

A30H to A3FH

IV

7

Set if a carry is generated; otherwise, reset.
Set if the result is zero; otherwise, reset.
Not affected
Not affected

Adds the carry bit and immediate data i to YL, the four low-order bits of YHL.

ADC YL,3

ADC YL,2

YL register

1010

1110

0000

C flag

1

0

1

Z flag

0

0

1