
The Western Design Center, Inc.
W65C816S Data Sheet
The Western Design Center
W65C816S
4
Block Move-xyc...............................................................................................................................................................................22
Direct Indexed Indirect-(d,x)..........................................................................................................................................................23
Direct Indexed with X-d,x..............................................................................................................................................................23
Direct Indexed with Y-d,y ..............................................................................................................................................................23
Direct Indirect Indexed-(d),y..........................................................................................................................................................24
Direct Indirect Long Indexed-[d],y ...............................................................................................................................................24
Direct Indirect Long-[d]..................................................................................................................................................................24
Direct Indirect-(d)............................................................................................................................................................................25
Direct-d..............................................................................................................................................................................................25
Immediate-# ......................................................................................................................................................................................25
Implied-i............................................................................................................................................................................................25
Program Counter Relative Long-rl................................................................................................................................................25
Program Counter Relative-r ...........................................................................................................................................................26
Stack-s................................................................................................................................................................................................26
Stack Relative-d,s.............................................................................................................................................................................26
Stack Relative Indirect Indexed-(d,s),y ........................................................................................................................................26
TIMING, AC AND DC CHARACTERISTICS............................................................................28
Absolute Maximum Ratings................................................................................................... 28
DC Characteristics TA = -40
°
C to +85
°
C.............................................................................. 29
5
5.1
5.2
6
7
7.1
7.2
7.3
OPERATION TABLES.................................................................................................................32
RECOMMENDED W65C816S ASSEMBLER SYNTAX STANDARDS...................................52
Directives............................................................................................................................... 52
Comments.............................................................................................................................. 52
The Source Line ..................................................................................................................... 52
7.3.1
The Label Field.................................................................................................................................................................52
7.3.2
The Operation Code Field ..............................................................................................................................................52
7.3.3
The Operand Field ...........................................................................................................................................................53
7.3.4
Comment Field .................................................................................................................................................................55
Caveats...........................................................................................................................................56
Stack Addressing.................................................................................................................... 57
Direct Addressing................................................................................................................... 57
Absolute Indexed Addressing................................................................................................. 57
ABORTB Input...................................................................................................................... 57
VDA and VPA Valid Memory Address Output Signals.......................................................... 57
DB/BA operation when RDY is Pulled Low............................................................................ 58
MX Output............................................................................................................................. 58
All OpCodes Function in All Modes of Operation.................................................................. 58
Indirect Jumps ....................................................................................................................... 58
Switching Modes.................................................................................................................... 58
How Interrupts Affect the Program Bank and the Data Bank Registers ................................ 58
Binary Mode .......................................................................................................................... 59
WAI Instruction..................................................................................................................... 59
The STP Instruction............................................................................................................... 59
COP Signatures...................................................................................................................... 59
WDM OpCode Use................................................................................................................. 59
RDY Pulled During Write...................................................................................................... 59
MVN and MVP Affects on the Data Bank Register................................................................ 59
Interrupt Priorities................................................................................................................. 60
Transfers from 8-Bit to 16-Bit, or 16-Bit to 8-Bit Registers .................................................... 60
8
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
8.10
8.11
8.12
8.13
8.14
8.15
8.16
8.17
8.18
8.19
8.20