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
↑
↑
↑
↑
5
5
5
5
5
5
5
5
5
7
7
7
12
12
7
5
7
7
7
7
7
7
7
7
7
5
7
7
7
7
NBP ← p4, NPP ← p3~p0
SP ← SP-1, M(SP) ← F
SP ← SP-1, M(SP) ← r
SP ← SP-1, M(SP) ← XH
SP ← SP-1, M(SP) ← XL
SP ← SP-1, M(SP) ← XP
SP ← SP-1, M(SP) ← YH
SP ← SP-1, M(SP) ← YL
SP ← SP-1, M(SP) ← YP
C ← 0
D ← 0 (Decimal Adjuster OFF)
PCSL ← M(SP), PCSH ← M(SP+1), PCP ← M(SP+2)
SP ← SP+3
PCSL ← M(SP), PCSH ← M(SP+1), PCP ← M(SP+2)
SP ← SP+3, M(X) ← e3~e0, M(X+1) ← e7~e4, X ← X+2
PCSL ← M(SP), PCSH ← M(SP+1), PCP ← M(SP+2)
SP ← SP+3, PC ← PC+1
d3 ← d2, d2 ← d1, d1 ← d0, d0 ← C, C ← d3
d3 ← C, d2 ← d3, d1 ← d2, d0 ← d1, C ← d0
F ← FΛi3~i0
Z ← 0
r ← r-i3~i0-C
r ← r-q-C
C ← 1
M(X) ← M(X)-r-C, X ← X+1
M(Y) ← M(Y)-r-C, Y ← Y+1
D ← 1 (Decimal Adjuster ON)
F ← FVi3~i0
SLEEP (stop oscillation)
r ← r-q
Z ← 1
r ← r∀i3~i0
r ← r∀q
↓
↓
↓
↓
↓
↓
↓
↓
↓
67
68
68
69
69
70
70
71
71
72
72
73
73
74
74
75
75
76
76
77
77
78
78
79
79
80
80
81
81
82
Page Operand Clock
Operation Code Flag
Mne-
monic Operation
↓
↑
↑
↓
↑
↑
↑
↑
↑
↑
↑
↓
↓
↓
↓
↓
↓
↓
↓
↓
★
★
★
★
↑
↑
★
↓
↑