Epson S1C63000 User Manual
Page 63
S1C63000 CORE CPU MANUAL
EPSON
57
CHAPTER 4: INSTRUCTION SET
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
–
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
↓
– –
B
←
N's adjust (B + [00imm8] + C) (00imm8 = 0000H ~ 00FFH)
B
←
N's adjust (B + [FFimm8] + C) (FFimm8 = FF00H + 00H ~ FFH)
[00imm8]
←
N's adjust ( [00imm8] + B + C)
[00imm8]
←
N's adjust ( [00imm8] + 0 + C)
[FFimm8]
←
N's adjust ( [FFimm8] + B + C)
[FFimm8]
←
N's adjust ( [FFimm8] + 0 + C)
B
←
N's adjust (B - [00imm8] - C)
B
←
N's adjust (B - [FFimm8] - C)
[00imm8]
←
N's adjust ( [00imm8] - B - C)
[00imm8]
←
N's adjust ( [00imm8] - 0 - C)
[FFimm8]
←
N's adjust ( [FFimm8] - B - C)
[FFimm8]
←
N's adjust ( [FFimm8] - 0 - C)
[00imm8]
←
N's adjust ( [00imm8] + 1)
[FFimm8]
←
N's adjust ( [FFimm8] + 1)
[00imm8]
←
N's adjust ( [00imm8] - 1)
[FFimm8]
←
N's adjust ( [FFimm8] -1)
A
←
A
∧
[00imm8]
A
←
A
∧
[FFimm8]
B
←
B
∧
[00imm8]
B
←
B
∧
[FFimm8]
[00imm8]
←
[00imm8]
∧
A
[00imm8]
←
[00imm8]
∧
B
[00imm8]
←
[00imm8]
∧
imm4
[FFimm8]
←
[FFimm8]
∧
A
[FFimm8]
←
[FFimm8]
∧
B
[FFimm8]
←
[FFimm8]
∧
imm4
A
←
A
∨
[00imm8]
A
←
A
∨
[FFimm8]
B
←
B
∨
[00imm8]
B
←
B
∨
[FFimm8]
[00imm8]
←
[00imm8]
∨
A
[00imm8]
←
[00imm8]
∨
B
[00imm8]
←
[00imm8]
∨
imm4
Mnemonic
Operation
Flag
E I C Z
8-bit absolute addressing (3/4)
LDB
%EXT,imm8
ADC
%B,[%X],n4
LDB
%EXT,imm8
ADC
%B,[%Y],n4
LDB
%EXT,imm8
ADC
[%X],%B,n4
LDB
%EXT,imm8
ADC
[%X],0,n4
LDB
%EXT,imm8
ADC
[%Y],%B,n4
LDB
%EXT,imm8
ADC
[%Y],0,n4
LDB
%EXT,imm8
SBC
%B,[%X],n4
LDB
%EXT,imm8
SBC
%B,[%Y],n4
LDB
%EXT,imm8
SBC
[%X],%B,n4
LDB
%EXT,imm8
SBC
[%X],0,n4
LDB
%EXT,imm8
SBC
[%Y],%B,n4
LDB
%EXT,imm8
SBC
[%Y],0,n4
LDB
%EXT,imm8
INC
[%X],n4
LDB
%EXT,imm8
INC
[%Y],n4
LDB
%EXT,imm8
DEC
[%X],n4
LDB
%EXT,imm8
DEC
[%Y],n4
LDB
%EXT,imm8
AND
%A,[%X]
LDB
%EXT,imm8
AND
%A,[%Y]
LDB
%EXT,imm8
AND
%B,[%X]
LDB
%EXT,imm8
AND
%B,[%Y]
LDB
%EXT,imm8
AND
[%X],%A
LDB
%EXT,imm8
AND
[%X],%B
LDB
%EXT,imm8
AND
[%X],imm4
LDB
%EXT,imm8
AND
[%Y],%A
LDB
%EXT,imm8
AND
[%Y],%B
LDB
%EXT,imm8
AND
[%Y],imm4
LDB
%EXT,imm8
OR
%A,[%X]
LDB
%EXT,imm8
OR
%A,[%Y]
LDB
%EXT,imm8
OR
%B,[%X]
LDB
%EXT,imm8
OR
%B,[%Y]
LDB
%EXT,imm8
OR
[%X],%A
LDB
%EXT,imm8
OR
[%X],%B
LDB
%EXT,imm8
OR
[%X],imm4
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔