
APPENDIX
Appendix 6. Machine instructions
7721 Group User’s Manual
17–52
Symbol
Functions
Details
IMP
IMM
A
DIR
DIR,b
DIR,X
DIR,Y
(DIR)
(DIR,X)
(DIR),Y
op
n
op
op
n
op
n
n
op
op
n
op
n
n
op
op
op
Addressing modes
Makes the contents of the specified bit in the memory “1.”
Makes the contents of the I flag “1.”
Makes the contents of the m flag “1.”
Set the specified bit of the processor status register's lower
byte (PS
L
) to “1.”
Stores the contents of the accumulator into the memory.
Stops the oscillation of the oscillator.
Stores the contents of the index register X into the memory.
Stores the contents of the index register Y into the memory.
Transmits the contents of the accumulator A to the direct
page register.
Transmits the contents of the accumulator A to the stack pointer.
Transmits the contents of the accumulator A to the index
register X.
Transmits the contents of the accumulator A to the index
register Y.
Transmits the contents of the accumulator B to the direct
page register.
Transmits the contents of the accumulator B to the stack
pointer.
Transmits the contents of the accumulator B to the index
register X.
Transmits the contents of the accumulator B to the index
register Y.
Transmits the contents of the direct page register to the
accumulator A.
Transmits the contents of the direct page register to the
accumulator B.
Makes the contents of the C flag “1.”
SEB
(Note 5)
Mb
←
1
SEC
SEI
SEM
SEP
STA
(Note 1)
STP
STX
STY
TAD
TAS
C
←
1
I
←
1
m
←
1
PSb
←
1
M
←
A
CC
M
←
X
M
←
Y
DPR
←
A
S
←
A
X
←
A
Y
←
A
DPR
←
B
S
←
B
TAX
TAY
TBD
TBS
TDB
X
←
B
TBX
TBY
TDA
Y
←
B
A
←
DPR
B
←
DPR
42
AA
2
2
04
8 3
38
2 1
78
2 1
2
F8
1
2
3
DB
3 1
2
4
85
42
6
85
3
3
9
42
81
3
9
42
92
7
42
95
2
5
95
7 2
81
7 2
91
7 2
91
3
2
4
86
2
4
84
5 2
96
94
2
5
5B
2 1
1B
2 1
AA
2 1
A8
2 1
4
42
5B
2
42
4 2
1B
4 2
42
4
A8
7B
2 1
42
4
7B
Transmits the contents of the stack pointer to the accumulator A.
Transmits the contents of the stack pointer to the accu-
mulator B.
A
←
S
B
←
S
TSA
TSB
3B
2 1
42
4 2
3B
Transmits the contents of the stack pointer to the index
register X.
Transmits the contents of the index register X to the ac-
cumulator A.
X
←
S
A
←
X
TSX
TXA
Transmits the contents of the index register X to the ac-
cumulator B.
Transmits the contents of the index register X to the stack
pointer.
B
←
X
S
←
X
TXB
TXS
Transmits the contents of the index register X to the index
register Y.
Y
←
X
TXY
Transmits the contents of the index register Y to the ac-
cumulator A.
A
←
Y
TYA
TYB
B
←
Y
Transmits the contents of the index register Y to the index
register X.
Stops the internal clock.
Exchanges the contents of the accumulator A and the con-
tents of the accumulator B.
TYX
WIT
XAB
X
←
Y
A
B
←
BA
2 1
2 1
42
8A
2
4
9A
2 1
9B
2 1
98
2 1
42
4 2
98
Transmits the contents of the index register Y to the ac-
cumulator B.
BB
2 1
CB
3 1
2
6
89
28
8A
E2
92
9 3
42
#
#
#
n #
#
#
#
n #
#
#
n