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
0
1
0
0
0
1
0
n0
n0
n0
n0
i0
q0
r0
r0
r0
r0
r0
r0
r0
r0
r0
r0
r0
r0
r0
e0
r0
r0
r0
e0
i0
q0
i0
q0
1
1
1
i0
q0
0
r0
1
0
0
0
1
1
A, Mn
B, Mn
Mn, A
Mn, B
r, i
r, q
r, SPH
r, SPL
r, XH
r, XL
r, XP
r, YH
r, YL
r, YP
SPH, r
SPL, r
XH, r
XL, r
XP, r
X, e
YH, r
YL, r
YP, r
Y, e
MX, i
r, q
MY, i
r, q
r
r, i
r, q
F
r
XH
XL
XP
YH
YL
YP
LD
LDPX
LDPY
NOP5
NOP7
NOT
OR
POP
IDZC
↑
↑
↑
↑
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
7
7
7
7
5
5
5
5
5
5
5
5
A
←
M(n3~n0)
B
←
M(n3~n0)
M(n3~n0)
←
A
M(n3~n0)
←
B
r
←
i3~i0
r
←
q
r
←
SPH
r
←
SPL
r
←
XH
r
←
XL
r
←
XP
r
←
YH
r
←
YL
r
←
YP
SPH
←
r
SPL
←
r
XH
←
r
XL
←
r
XP
←
r
XH
←
e7~e4, XL
←
e3~e0
YH
←
r
YL
←
r
YP
←
r
YH
←
e7~e4, YL
←
e3~e0
M(X)
←
i3~i0, X
←
X+1
r
←
q, X
←
X+1
M(Y)
←
i3~i0, Y
←
Y+1
r
←
q, Y
←
Y+1
No operation (5 clock cycles)
No operation (7 clock cycles)
r
←
r
r
←
rVi3~i0
r
←
rVq
F
←
M(SP), SP
←
SP+1
r
←
M(SP), SP
←
SP+1
XH
←
M(SP), SP
←
SP+1
XL
←
M(SP), SP
←
SP+1
XP
←
M(SP), SP
←
SP+1
YH
←
M(SP), SP
←
SP+1
YL
←
M(SP), SP
←
SP+1
YP
←
M(SP), SP
←
SP+1
↓
↓
↓
↓
47
47
48
48
51
51
52
52
53
53
54
54
55
55
56
56
57
58
58
57
59
60
60
59
49
49
50
50
61
61
62
62
63
63
64
64
65
65
66
66
67
Page Operand Clock
Operation Code Flag
Mne-
monic Operation
↑
↓
↑
↓
↑
↓