3 INSTRUCTION SET

LD r,YL

Load YL into r-register

Source Format:

LD r,YL

Operation:

r

YL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OP-Code:

1

 

1

1

0

1

0

1

1

1

0

r1

r0

EB8H to EBBH

 

MSB

 

 

 

 

 

 

 

 

 

 

LSB

Type: V

Clock Cycles: 5

Flag: C – Not affected

Z– Not affected D – Not affected I – Not affected

Description: Loads the four low-order bits of register Y into the r-register.

Example:

 

LD B,YL

 

 

LD MX,YL

 

YL register

0000

 

0000

 

0000

 

B register

0110

 

0000

 

0000

 

Memory (MX)

1011

 

1011

 

0000

LD r,YP

Load YP into r-register

Source Format:

LD r,YP

Operation:

r

YP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OP-Code:

1

 

1

1

0

1

0

1

1

0

0

r1

r0

EB0H to EB3H

 

MSB

 

 

 

 

 

 

 

 

 

 

LSB

Type: V

Clock Cycles: 5

Flag: C – Not affected

Z– Not affected D – Not affected I – Not affected

Description: Loads the 4-bit page part of index register IY into the r-register.

Example:

 

LD MY,YP

 

 

LD B,YP

 

YP register

1010

 

1010

 

1010

 

B register

1100

 

1100

 

1010

 

Memory (MY)

0110

 

1010

 

1010

S1C6200/6200A CORE CPU MANUAL

EPSON

55