Epson S1C63000 Personal Computer User Manual


 
100 EPSON S1C63000 CORE CPU MANUAL
CHAPTER 4: INSTRUCTION SET
LD %r,imm4 Load immediate data imm4 into r reg. 1 cycle
Function: r imm4
Loads the 4-bit immediate data imm4 into the r register (A, B or F).
Code: Mnemonic MSB LSB
LD %A,imm4 111101100i3i2i1i01EC0H–1ECFH
LD %B,imm4 111101101i3i2i1i01ED0H–1EDFH
LD %F,imm4 100001011i3i2i1i010B0H–10BFH
Flags: EICZ
–––
↕↕↕↕(r = F)
Mode: Src: Immediate data
Dst: Register direct
Extended addressing: Invalid
LD %r,[%ir] Load location [ir reg.] into r reg. 1 cycle
Function: r [ir]
Loads the content of the data memory addressed by the ir register (X or Y) into the r register (A
or B).
Code:
Mnemonic MSB LSB
LD %A,[%X] 11110111000001EE0H
LD %A,[%Y] 11110111000101EE2H
LD %B,[%X] 11110111001001EE4H
LD %B,[%Y] 11110111001101EE6H
Flags: EICZ
–––
Mode: Src: Register indirect
Dst: Register direct
Extended addressing: Valid
Extended LDB %EXT,imm8
operation: LD %r,[%X] r [00imm8] (00imm8 = 0000H + 00H to FFH)
LDB %EXT,imm8
LD %r,[%Y] r [FFimm8] (FFimm8 = FF00H + 00H to FFH)