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1 0 0 1 1 0 X
1 1 1 1 1 1 1 0 0 1 1 1 X
1 1 1 1 1 1 1 0 0 1 0 0 1
1 1 1 1 1 1 1 0 0 1 0 0 0
2
↓
–
●
2
↓
–
Ч
2
↓
–
●
2
↓
–
Ч
2
↓
–
Ч
3
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
●
2
↓
– – –
Ч
1
↓
– – –
●
1
↓
– – –
●
1
↓
– – –
●
1
↓
– – –
●
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
●
1
↓
– – –
Ч
1
↓
– – –
●
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
●
1
↓
– – –
Ч
1
↓
– – –
●
1
↓
– – –
Ч
1
Ч
1
Ч
1
↓
– – –
●
1
↓
– – –
●
1
↓
– – –
●
2
↓
– – –
Ч
2
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
2
↓
– – –
Ч
2
↓
– – –
Ч
1
↓
– – –
●
1
↓
– – –
●
1
↓
– – –
●
2
↓
– – –
Ч
2
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
2
↓
– – –
Ч
2
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
1
↓
– – –
Ч
[X]
←
N's adjust ([X]+1)
[X]
←
N's adjust ([X]+1), X
←
X+1
[Y]
←
N's adjust ([Y]+1)
[Y]
←
N's adjust ([Y]+1), Y
←
Y+1
[00addr6]
←
[00addr6]+1
[SP2-1]
←
F, SP2
←
SP2-1
([(SP1-1)
∗
4+3]~[(SP1-1)
∗
4])
←
PC+1,
SP1
←
SP1-1, PC
←
imm6 (imm6=0100H~013FH)
PC
←
Y
PC
←
PC+A+1
PC
←
PC+BA+1
PC
←
PC+sign8+1 (sign8=-128~127)
PC
←
PC+[00addr6]+1
If C=1 then PC
←
PC+sign8+1 (sign8=-128~127)
If C=0 then PC
←
PC+sign8+1 (sign8=-128~127)
If Z=0 then PC
←
PC+sign8+1 (sign8=-128~127)
If Z=1 then PC
←
PC+sign8+1 (sign8=-128~127)
A
←
A
A
←
B
A
←
F
A
←
imm4
A
←
[X]
A
←
[X], X
←
X+1
A
←
[Y]
A
←
[Y], Y
←
Y+1
B
←
A
B
←
B
B
←
imm4
B
←
[X]
B
←
[X], X
←
X+1
B
←
[Y]
B
←
[Y], Y
←
Y+1
F
←
A
F
←
imm4
[X]
←
A
[X]
←
B
[X]
←
imm4
[X]
←
[Y]
[X]
←
[Y], Y
←
Y+1
[X]
←
A, X
←
X+1
[X]
←
B, X
←
X+1
[X]
←
imm4, X
←
X+1
[X]
←
[Y], X
←
X+1
[X]
←
[Y], X
←
X+1, Y
←
Y+1
[Y]
←
A
[Y]
←
B
[Y]
←
imm4
[Y]
←
[X]
[Y]
←
[X], X
←
X+1
[Y]
←
A, Y
←
Y+1
[Y]
←
B, Y
←
Y+1
[Y]
←
imm4, Y
←
Y+1
[Y]
←
[X], Y
←
Y+1
[Y]
←
[X], Y
←
Y+1, X
←
X+1
BA
←
EXT
BA
←
SP1
BA
←
SP2
BA
←
XH
BA
←
XL
Mnemonic
Machine code
Operation
Cycle
Page
Flag
EXT.
mode
12
E I C Z
11 10 9 8 7 6 5 4 3 2 1 0
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔ ↔ ↔
↔ ↔ ↔ ↔
93
93
93
93
92
94
95
95
96
97
96
97
98
98
99
99
99
99
100
100
101
100
101
99
99
100
100
101
100
101
99
100
101
101
102
103
104
102
102
103
104
105
101
101
102
103
104
102
102
103
104
105
106
107
107
107
107