November 09, 2018
3
3.5.13 Direct Indirect Indexed-(d),y .................................................................................................... 20
3.5.14 Direct Indirect Long Indexed-[d],y ........................................................................................... 21
3.5.15 Direct Indirect Long-[d] ............................................................................................................ 21
3.5.16 Direct Indirect-(d) ..................................................................................................................... 21
3.5.17 Direct-d .................................................................................................................................... 22
3.5.18 Immediate-# ............................................................................................................................. 22
3.5.19 Implied-i ................................................................................................................................... 22
3.5.20 Program Counter Relative Long-rl ........................................................................................... 22
3.5.21 Program Counter Relative-r .................................................................................................... 22
3.5.22 Stack-s ..................................................................................................................................... 22
3.5.23 Stack Relative-d,s .................................................................................................................... 23
3.5.24 Stack Relative Indirect Indexed-(d,s),y.................................................................................... 23
4
TIMING, AC AND DC CHARACTERISTICS ......................................................... 25
4.1
Absolute Maximum Ratings ..................................................................................................... 25
4.2
DC Characteristics TA = -40
°
C to +85
°
C ................................................................................ 25
5
OPERATION TABLES........................................................................................... 29
6
RECOMMENDED W65C816S ASSEMBLER SYNTAX STANDARDS ................. 45
6.1
Directives ................................................................................................................................... 45
6.2
Comments .................................................................................................................................. 45
6.3
The Source Line ........................................................................................................................ 45
6.3.1
The Label Field .................................................................................................................... 45
6.3.2
The Operation Code Field ................................................................................................... 45
6.3.3
The Operand Field .............................................................................................................. 46
6.3.4
Comment Field .................................................................................................................... 48
7
Caveats ................................................................................................................. 49
7.1
Stack Addressing ...................................................................................................................... 50
7.2
Direct Addressing ..................................................................................................................... 50
7.3
Absolute Indexed Addressing ................................................................................................. 50
7.4
ABORTB Input ........................................................................................................................... 50
7.5
VDA and VPA Valid Memory Address Output Signals .......................................................... 50
7.6
DB/BA operation when RDY is Pulled Low ............................................................................ 51
7.7
MX Output .................................................................................................................................. 51
7.8
All Opcodes Function in All Modes of Operation .................................................................. 51
7.9
Indirect Jumps ........................................................................................................................... 51
7.10
Switching Modes ....................................................................................................................... 51
7.11
How Interrupts Affect the Program Bank and the Data Bank Registers ............................. 51
7.12
Binary Mode ............................................................................................................................... 52
7.13
Wait for Interrupt (WAI) Instruction .......................................................................................... 52
7.14
Stop-the-Clock (STP) Instruction ............................................................................................. 52
7.15
Co-Processor (COP) Signatures .............................................................................................. 52
7.16
WDM Opcode Use ..................................................................................................................... 52
7.17
RDY Pulled During Write .......................................................................................................... 52
7.18
MVN and MVP Affects on the Data Bank Register ................................................................. 52
7.19
Interrupt Priorities ..................................................................................................................... 53
7.20
Transfers from 8-Bit to 16-Bit, or 16-Bit to 8-Bit Registers ................................................... 53
7.21
Stack Transfers ......................................................................................................................... 53
7.22
BRK Instruction ......................................................................................................................... 53
7.23
Accumulator switching from 8-bit to 16-bit ............................................................................ 53
8
HARD CORE MODEL ........................................................................................... 54
8.1
W65C816 Core Information ...................................................................................................... 54
9
SOFT CORE RTL MODEL .................................................................................... 54