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0 1
1 1 0 1 0 1 1 1 0 1 1 0 1
1 1 0 1 0 1 0 0 1 i3 i2 i1 i0
1 1 0 1 0 1 1 1 0 1 0 1 0
1 1 0 1 0 1 1 1 0 1 1 1 0
2
↓
–
●
2
↓
–
Ч
2
↓
–
Ч
2
↓
–
Ч
2
↓
–
●
2
↓
–
●
2
↓
–
●
2
↓
–
Ч
2
↓
–
Ч
2
↓
–
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓ ↓ ↓ ↓
Ч
2
↓
– –
●
2
↓
– –
●
2
↓
– –
●
2
↓
– –
Ч
2
↓
– –
Ч
2
↓
– –
Ч
2
↓
– –
●
2
↓
– –
●
2
↓
– –
●
2
↓
– –
Ч
2
↓
– –
Ч
2
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
●
1
↓
– –
●
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
Ч
1
↓
– –
●
1
↓
– –
●
[X]
←
[X]+imm4
[X]
←
[X]+A, X
←
X+1
[X]
←
[X]+B, X
←
X+1
[X]
←
[X]+imm4, X
←
X+1
[Y]
←
[Y]+A
[Y]
←
[Y]+B
[Y]
←
[Y]+imm4
[Y]
←
[Y]+A, Y
←
Y+1
[Y]
←
[Y]+B, Y
←
Y+1
[Y]
←
[Y]+imm4, Y
←
Y+1
A
←
A
∧
A
A
←
A
∧
B
A
←
A
∧
imm4
A
←
A
∧
[X]
A
←
A
∧
[X], X
←
X+1
A
←
A
∧
[Y]
A
←
A
∧
[Y], Y
←
Y+1
B
←
B
∧
A
B
←
B
∧
B
B
←
B
∧
imm4
B
←
B
∧
[X]
B
←
B
∧
[X], X
←
X+1
B
←
B
∧
[Y]
B
←
B
∧
[Y], Y
←
Y+1
F
←
F
∧
imm4
[X]
←
[X]
∧
A
[X]
←
[X]
∧
B
[X]
←
[X]
∧
imm4
[X]
←
[X]
∧
A, X
←
X+1
[X]
←
[X]
∧
B, X
←
X+1
[X]
←
[X]
∧
imm4, X
←
X+1
[Y]
←
[Y]
∧
A
[Y]
←
[Y]
∧
B
[Y]
←
[Y]
∧
imm4
[Y]
←
[Y]
∧
A, Y
←
Y+1
[Y]
←
[Y]
∧
B, Y
←
Y+1
[Y]
←
[Y]
∧
imm4, Y
←
Y+1
A
∧
A
A
∧
B
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
[X]
∧
A
[X]
∧
B
[X]
∧
imm4
[X]
∧
A, X
←
X+1
[X]
∧
B, X
←
X+1
[X]
∧
imm4, X
←
X+1
[Y]
∧
A
[Y]
∧
B
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
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔ ↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
↔
71
71
71
72
70
70
71
71
71
72
73
73
74
75
75
75
75
73
73
74
75
75
75
75
74
76
76
77
76
76
77
76
76
77
76
76
77
78
78
78
79
79
79
79
78
78
78
79
79
79
79
80
80
81
80
80
81
80
80