A SERVICE OF

logo

S1C63000 CORE CPU MANUAL EPSON 101
CHAPTER 4: INSTRUCTION SET
LD %r,[%ir]+ Load location [ir reg.] into r reg. and increment ir reg. 1 cycle
Function: r [ir], ir ir + 1
Loads the content of the data memory addressed by the ir register (X or Y) into the r register (A
or B). Then increments the ir register (X or Y).
Code:
Mnemonic MSB LSB
LD %A,[%X]+ 11110111000011EE1H
LD %A,[%Y]+ 11110111000111EE3H
LD %B,[%X]+ 11110111001011EE5H
LD %B,[%Y]+ 11110111001111EE7H
Flags: EICZ
–––
Mode: Src: Register indirect
Dst: Register direct
Extended addressing: Invalid
LD [%ir],%r Load r reg. into location [ir reg.] 1 cycle
Function: [ir] r
Loads the content of the r register (A or B) into the data memory addressed by the ir register (X
or Y).
Code:
Mnemonic MSB LSB
LD [%X],%A 11110111010001EE8H
LD [%X],%B 11110111011001EECH
LD [%Y],%A 11110111010101EEAH
LD [%Y],%B 11110111011101EEEH
Flags: EICZ
–––
Mode: Src: Register direct
Dst: Register indirect
Extended addressing: Valid
Extended LDB %EXT,imm8
operation: LD [%X],%r [00imm8] r (00imm8 = 0000H + 00H to FFH)
LDB %EXT,imm8
LD [%Y],%r [FFimm8] r (FFimm8 = FF00H + 00H to FFH)