November 09, 2018
34
Table 5-5 continued
M
ne
m
o
ni
c
Operation
OpCodes
Status Register
7
6
5
4
3
2
1
0
Addressing Mode
a
A
a
,x
a
,y
al
a
l,x
(a
)
(a
,x)
d
d
,s
d
,x
d
,y
(d
)
[d
]
(d
,s)
,
y
(d
,x)
(d
),y
[d
],
y
i
r
rl
s
xyc
#
N
V
M X
D
I
Z
C
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
N
V
1
B
D
I
Z
C
STY
Y
M
8C
84
94
.
.
.
.
.
.
.
.
STZ
00
M
9C
9E
64
74
.
.
.
.
.
.
.
.
TAX
A
X
AA
N
.
.
.
.
.
Z
.
TAY
A
Y
AB
N
.
.
.
.
.
Z
.
TCD*
C
D
5B
N
.
.
.
.
.
Z
.
TCS*
C
S
1B
.
.
.
.
.
.
.
.
TDC*
D
C
7B
N
.
.
.
.
.
Z
.
TRB
1C
14
.
.
.
.
.
.
Z
.
TSB
AVM
M
0C
04
.
.
.
.
.
.
Z
.
TSC*
S
C
3B
N
.
.
.
.
.
Z
.
TSX
S
X
BA
N
.
.
.
.
.
Z
.
TXA
X
A
8A
N
.
.
.
.
.
Z
.
TXS
X
S
9A
,
.
.
.
.
.
,
.
TXY*
X
Y
9B
N
.
.
.
.
.
Z
.
TYA
Y
A
98
N
.
.
.
.
.
Z
TYX*
Y
X
BB
N
.
.
.
.
.
Z
.
WAI
0
RDY
CB
.
.
.
.
.
.
.
.
WDM*
No Operation
42
.
.
.
.
.
.
.
.
XBA*
B
A
EB
N
.
.
.
.
.
Z
.
XCE*
M
Y
FB
.
.
.
.
.
.
.
E
Notes:
1)
The following are the definitions of the operational symbols used:
+ ADD, ^ AND, xv Exclusive OR, * Multiply, ~ NOT, v OR, - Subtract
2)
Bit immediate N and V flags not affected. When M=0, M
15
N and M
14
V.
3)
Break Bit (B) in Status register indicates hardware or software break.
4)
= New W65C816 instructions