Ld r,i, Ld r,q, Load immediate data i into r-register – Epson S1C6200 User Manual
Page 57: Load q-register into r-register
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
51
3 INSTRUCTION SET
LD r,i
Load immediate data i into r-register
LD r,i
r
←
i
3
to i
0
1
1
1
0
0
0
r
1
r
0
i
3
i
2
i
1
i
0
E00H to E3FH
II
5
Not affected
Not affected
Not affected
Not affected
Loads immediate data i into the r-register.
LD A,6
LD MY,0
A register
0101
0110
0110
Memory (MY)
1001
1001
0000
LD r,q
Load q-register into r-register
LD r,q
r
←
q
1
1
1
0
1
1
0
0 r
1
r
0
q
1
q
0
EC0H to ECFH
IV
5
Not affected
Not affected
Not affected
Not affected
The contents of the q-register are loaded into the r-register.
LD A,B
LD B,MY
A register
0010
0000
0000
B register
0000
0000
0110
Memory (MY)
0110
0110
0110