173
APPENDIX 2
740 Family Machine Language Instruction Table
APPENDIX 2. 740 Family Machine Language Instruction Table
2
3
4
4
5
5
6
6
2
3
4
4
5
2
3
4
4
5
4
4
5
5
6
6
7
7
4
5
5
4
5
6
2
2
2
2
2
2
3
3
4
4
2
2
2
3
3
3
2
2
2
2
2
3
3
2
2
2
3
3
3
2
2
3
3
3
2
2
2
2
3
2
2
3
1
1
1
1
1
1
1
1
1
1
A9
A5
B5
AD
BD
B9
A1
B1
A2
A6
B6
AE
BE
A0
A4
B4
AC
BC
3C
85
95
8D
9D
99
81
91
86
96
8E
84
94
8C
AA
8A
A8
98
BA
9A
48
08
68
28
2
2
2
2
2
2
2
2
HEX
INSTRUCTION CODE
FLAG
N V T B D I Z C
(A)
←
nn
(A)
←
(M)
where
M=(zz)
(A)
←
(M)
where
M=(zz+(X))
(A)
←
(M)
where
M=(hhII)
(A)
←
(M)
where
M=(hhII+(X))
(A)
←
(M)
where
M=(hhII+(Y))
(A)
←
(M)
where
M=((zz+(X)+1)(zz+(X)))
(A)
←
(M)
where
M=((zz+1)(zz)+(Y))
(X)
←
nn
(X)
←
(M)
where
M=(zz)
(X)
←
(M)
where
M=(zz+(Y))
(X)
←
(M)
where
M=(hhII)
(X)
←
(M)
where
M=(hhII+(Y))
(Y)
←
nn
(Y)
←
(M)
where
M=(zz)
(Y)
←
(M)
where
M=(zz+(X))
(Y)
←
(M)
where
M=(hhII)
(Y)
←
(M)
where
M=(hhII+(X))
(M)
←
nn
where
M=(zz)
(M)
←
(A)
where
M=(zz)
(M)
←
(A)
where
M=(zz+(X))
(M)
←
(A)
where
M=(hhll)
(M)
←
(A)
where
M=(hhII+(X))
(M)
←
(A)
where
M=(hhII+(Y))
(M)
←
(A)
where
M=((zz+(X)+1)(zz+(X)))
(M)
←
(A)
where
M=((zz+1)(zz)+(Y))
(M)
←
(X)
where
M=(zz)
(M)
←
(X)
where
M=(zz+(Y))
(M)
←
(X)
where
M=(hhII)
(M)
←
(Y)
where
M=(zz)
(M)
←
(Y)
where
M=(zz+(X))
(M)
←
(Y)
where
M=(hhII)
(X)
←
(A)
(A)
←
(X)
(Y)
←
(A)
(A)
←
(Y)
(X)
←
(S)
(S)
←
(X)
(M(S))
←
(A), (S)
←
(S)—1
(M(S))
←
(PS), (S)
←
(S)—1
(S)
←
(S)+1, (A)
←
(M(S))
(S)
←
(S)+1, (PS)
←
(M(S))
LDA # $ nn
LDA $ zz
LDA $ zz, X
LDA $ hhII
LDA $ hhII, X
LDA $ hhII, Y
LDA
($ zz, X)
LDA
($ zz), Y
LDX # $ nn
LDX $ zz
LDX $ zz, Y
LDX $ hhII
LDX $ hhII, Y
LDY # $ nn
LDY $ zz
LDY $ zz, X
LDY $ hhII
LDY $ hhII, X
LDM # $ nn, $ zz
STA $ zz
STA $ zz, X
STA $ hhII
STA $ hhII, X
STA $ hhII, Y
STA
($ zz, X)
STA
($ zz), Y
STX $ zz
STX $ zz, Y
STX $ hhII
STY $ zz
STY $ zz, X
STY $ hhII
TAX
TXA
TAY
TYA
TSX
TXS
PHA
PHP
PLA
PLP
Parameter
CYCLE
NUMBER
Load
Store
T
ransf
er
Data T
ransf
e
r
Classification
FUNCTION
SYMBOL
1 0 1 0 1 0 0 1
<B2>
1 0 1 0
0 1 0 1
<B2>
1 0 1 1
0 1 0 1
<B2>
1 0 1 0
1 1 0 1
<B2>
<B3>
1 0 1 1
1 1 0 1
<B2>
<B3>
1 0 1 1
1 0 0 1
<B2>
<B3>
1 0 1 0
0 0 0 1
<B2>
1 0 1 1
0 0 0 1
<B2>
1 0 1 0
0 0 1 0
<B2>
1 0 1 0
0 1 1 0
<B2>
1 0 1 1
0 1 1 0
<B2>
1 0 1 0
1 1 1 0
<B2>
<B3>
1 0 1 1
1 1 1 0
<B2>
<B3>
1 0 1 0
0 0 0 0
<B2>
1 0 1 0
0 1 0 0
<B2>
1 0 1 1
0 1 0 0
<B2>
1 0 1 0
1 1 0 0
<B2>
<B3>
1 0 1 1
1 1 0 0
<B2>
<B3>
0 0 1 1
1 1 0 0
<B2>
<B3>
1 0 0 0
0 1 0 1
<B2>
1 0 0 1
0 1 0 1
<B2>
1 0 0 0
1 1 0 1
<B2>
<B3>
1 0 0 1
1 1 0 1
<B2>
<B3>
1 0 0 1
1 0 0 1
<B2>
<B3>
1 0 0 0
0 0 0 1
<B2>
1 0 0 1
0 0 0 1
<B2>
1 0 0 0
0 1 1 0
<B2>
1 0 0 1
0 1 1 0
<B2>
1 0 0 0
1 1 1 0
<B2>
<B3>
1 0 0 0
0 1 0 0
<B2>
1 0 0 1
0 1 0 0
<B2>
1 0 0 0
1 1 0 0
<B2>
<B3>
1 0 1 0 1 0 1 0
1 0 0 0 1 0 1 0
1 0 1 0 1 0 0 0
1 0 0 1 1 0 0 0
1 0 1 1 1 0 1 0
1 0 0 1 1 0 1 0
0 1 0 0 1 0 0 0
0 0 0 0 1 0 0 0
0 1 1 0 1 0 0 0
0 0 1 0 1 0 0 0
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕
✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕
✕ ✕ ✕ ✕ ✕ ✕
Previous status in stack
Stack
Operation
D
7
D
6
D
5
D
4
D
3
D
2
D
1
D
0
BYTE
NUMBER
NOTE