Ldb %ba,%rr, Ldb %ba,%sp – Epson S1C63000 User Manual
Page 113
S1C63000 CORE CPU MANUAL
EPSON
107
CHAPTER 4: INSTRUCTION SET
LDB %BA,%rr
Load rr reg. into BA reg.
1 cycle
Function:
BA
←
rr
Loads the content of the rr register (XL, XH, YL or YH) into the BA register.
Code:
Mnemonic
MSB
LSB
LDB %BA,%XL
1
1
1
1
1
1
1
0
0
1
0
0
0
1FC8H
LDB %BA,%XH
1
1
1
1
1
1
1
0
0
1
0
0
1
1FC9H
LDB %BA,%YL
1
1
1
1
1
1
1
0
0
1
0
1
0
1FCAH
LDB %BA,%YH
1
1
1
1
1
1
1
0
0
1
0
1
1
1FCBH
Flags:
E
I
C
Z
↓
–
–
–
Mode:
Src: Register direct
Dst: Register direct
Extended addressing: Invalid
LDB %BA,%sp
Load stack pointer into BA reg.
1 cycle
Function:
BA
←
sp
Loads the content of the stack pointer sp (SP1 or SP2) into the BA register.
Code:
Mnemonic
MSB
LSB
LDB %BA,%SP1
1
1
1
1
1
1
1
0
0
1
1
0
X
1FCCH, (1FCDH)
LDB %BA,%SP2
1
1
1
1
1
1
1
0
0
1
1
1
X
1FCEH, (1FCFH)
Flags:
E
I
C
Z
↓
–
–
–
Mode:
Src: Register direct
Dst: Register direct
Extended addressing: Invalid