November 09, 2018
29
5 OPERATION TABLES
Table 5-1 W65C816S Instruction Set-Alphabetical Sequence
1.
ADC
Add Memory to Accumulator with Carry
47. PHB
Push Data Bank Register on Stack
2.
AND
"AND" Memory with Accumulator
48. PHD
Push Direct Register on Stack
3.
ASL
Shift One Bit Left, Memory or Accumulator
49. PHK
Push Program Bank Register on Stack
4.
BCC
Branch on Carry Clear (C=0)
50. PHP
Push Processor Status on Stack
5.
BCS
Branch on Carry Set (C=1)
51. PHX
Push Index X on Stack
6.
BEQ
Branch if Equal (Z=1)
52. PHY
Push Index Y on Stack
7.
BIT
Bit Test
53. PLA
Pull Accumulator from Stack
8.
BMI
Branch if Result Minus (N=1)
54. PLB
Pull Data Bank Register from Stack
9.
BNE
Branch if Not Equal (Z=0)
55. PLD
Pull Direct Register from Stack
10.
BPL
Branch if Result Plus (N=0)
56. PLP
Pull Processor Status from Stack
11.
BRA
Branch Always
57. PLX
Pull Index X from Stack
12.
BRK
Force Break
58. PLY
Pull Index Y from Stack
13.
BRL
Branch Always Long
59. REP
Reset Status Bits
14.
BVC
Branch on Overflow Clear (V=0)
60. ROL
Rotate One Bit Left (Memory or Accumulator)
15.
BVS
Branch on Overflow Set (V=1)
61. ROR
Rotate One Bit Right
16.
CLC
Clear Carry Flag
62. RTI
Return from Interrupt
17.
CLD
Clear Decimal Mode
63. RTL
Return from Subroutine Long
18.
CLI
Clear Interrupt Disable Bit
64. RTS
Return from Subroutine
19.
CLV
Clear Overflow Flag
65. SBC
Subtract Memory from Accumulator
20.
CMP
Compare Memory and Accumulator
66. SEP
Set Processor Status Bit
21.
COP
Coprocessor
67. SEC
Set Carry Flag
22.
CPX
Compare Memory and Index X
68. SED
Set Decimal Mode
23.
CPY
Compare Memory and Index Y
69. SEI
Set Interrupt Disable Status
24.
DEC
Decrement Memory or Accumulator by One
70. STA
Store Accumulator in Memory
25.
DEX
Decrement Index X by One
71. STP
Stop the Clock
26.
DEY
Decrement Index Y by One
72. STX
Store Index X in Memory
27.
EOR
"Exclusive OR" Memory with Accumulator
73. STY
Store Index Y in Memory
28.
INC
Increment Memory or Accumulator by One
74. STZ
Store Zero in Memory
29.
INX
Increment Index X by One
75. TAX
Transfer Accumulator in Index X
30.
INY
Increment Index Y by One
76. TAY
Transfer Accumulator to Index Y
31.
JML
Jump Long
77. TCD
Transfer C Accumulator to Direct Register
32.
JMP
Jump to New Location
78. TCS
Transfer C Accumulator to Stack Pointer
33.
JSL
Jump Subroutine Long
79. TDC
Transfer Direct Register to C Accumulator
34.
JSR
Jump to News Location Saving Return
80. TRB
Test and Reset Bit
35.
LDA
Load Accumulator with Memory
81. TSB
Test and Set Bit
36.
LDX
Load Index X with Memory
82. TSC
Transfer Stack Pointer to C Accumulator
37.
LDY
Load Index Y with Memory
83. TSX
Transfer Stack Pointer Register to Index X
38.
LSR
Shift One Bit Right (Memory or Accumulator)
84. TXA
Transfer Index X to Accumulator
39.
MVN
Block Move Negative
85. TXS
Transfer Index X to Stack Pointer Register
40.
MVP
Block Move Positive
86. TXY
Transfer Index X to Index Y
41.
NOP
No Operation
87. TYA
Transfer Index Y to Accumulator
42.
ORA
"OR" Memory with Accumulator
88. TYX
Transfer Index Y to Index X
43.
PEA
Push Absolute Address
89. WAI
Wait for Interrupt
44.
PEI
Push Indirect Address
90. WDM
Reserved for future use
45.
PER
Push Program Counter Relative Address
91. XBA
Exchange B and A Accumulator
46.
PHA
Push Accumulator on Stack
92. XCE
Exchange Carry and Emulation Bits