3 INSTRUCTION SET

LD Mn,A

Load A-register into memory

 

 

 

Source Format:

LD Mn,A

 

 

 

 

 

 

 

 

 

 

Operation:

M(n3 to n0)

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OP-Code:

1

 

1

1

1

1

0

0

0

n3

n2

n1

n0

F80H to F8FH

 

MSB

 

 

 

 

 

 

 

LSB

Type:

IV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Clock Cycles:

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flag:

C – Not affected

 

 

 

 

 

 

Z – Not affected

 

 

 

 

 

 

D – Not affected

 

 

 

 

 

 

I

– Not affected

 

 

 

 

 

Description:

Loads the contents of the A-register into the location addressed by Mn.

Example:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LD M0AH,A

 

 

LD M0BH,A

 

A register

0110

 

 

0110

 

0110

 

 

Memory (0AH)

0100

 

 

0110

 

0110

 

 

Memory (0BH)

1011

 

 

1011

 

0110

 

LD Mn,B

Load B-register into memory

Source Format:

LD Mn,B

 

 

 

 

 

 

 

 

 

Operation:

M(n3 to n0)

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OP-Code:

1

1

1

1

1

0

0

1

n3

n2

n1

n0

F90H to F9FH

 

MSB

 

 

 

 

 

 

 

LSB

Type: IV

Clock Cycles: 5

Flag: C – Not affected

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

Description: Loads the contents of the B-register into the data memory location addressed by Mn.

Example:

 

LD M0,B

 

 

LD M1,B

 

B register

0100

 

0100

 

0100

 

Memory (00H)

1011

 

0100

 

0100

 

Memory (01H)

1111

 

1111

 

0100

48

EPSON

S1C6200/6200A CORE CPU MANUAL