
The Western Design Center, Inc.
W65C816S Data Sheet
The Western Design Center
W65C816S
3
TABLE OF CONTENTS
1
2
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
3
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.16
4
4.1
4.2
4.3
4.4
4.5
INTRODUCTION...........................................................................................................................7
W65C816S FUNCTIONAL DESCRIPTION.................................................................................8
Instruction Register (IR).......................................................................................................... 8
Timing Control Unit (TCU)...................................................................................................... 8
Arithmetic and Logic Unit (ALU)............................................................................................. 8
Internal Registers (Refer to Programming Model Table 2-2)................................................... 8
Accumulator (A)....................................................................................................................... 8
Data Bank Register (DBR)....................................................................................................... 9
Direct (D)................................................................................................................................. 9
Index (X and Y)........................................................................................................................ 9
Processor Status Register (P).................................................................................................... 9
Program Bank Register (PBR)................................................................................................. 9
Program Counter (PC)........................................................................................................... 10
Stack Pointer (S).................................................................................................................... 10
PIN FUNCTION DESCRIPTION...............................................................................................13
Abort (ABORTB)................................................................................................................... 16
Address Bus (A0-A15)............................................................................................................ 16
Bus Enable (BE)..................................................................................................................... 16
Data/Bank Address Bus (D0-D7)............................................................................................ 16
Emulation Status (E).............................................................................................................. 17
Interrupt Request (IRQB)...................................................................................................... 17
Memory Lock (MLB)............................................................................................................. 17
Memory/Index Select Status (MX) ......................................................................................... 17
Non-Maskable Interrupt (NMIB)........................................................................................... 18
Phase 2 In (PHI2)................................................................................................................... 18
Read/Write (RWB)................................................................................................................. 18
Ready (RDY).......................................................................................................................... 18
Reset (RESB).......................................................................................................................... 19
Valid Data Address (VDA) and Valid Program Address (VPA)............................................. 19
VDD and VSS......................................................................................................................... 19
Vector Pull (VPB)................................................................................................................... 19
ADDRESSING MODES...............................................................................................................20
Reset and Interrupt Vectors ................................................................................................... 20
Stack...................................................................................................................................... 20
Direct..................................................................................................................................... 20
Program Address Space......................................................................................................... 20
Data Address Space................................................................................................................ 20
Absolute-a.........................................................................................................................................................................................21
Absolute Indexed Indirect-(a,x).....................................................................................................................................................21
Absolute Indexed with X-a,x.........................................................................................................................................................21
Absolute Indexed with Y-a,y .........................................................................................................................................................21
Absolute Indirect-(a)........................................................................................................................................................................22
Absolute Long Indexed With X-al,x.............................................................................................................................................22
Absolute Long-al..............................................................................................................................................................................22
Accumulator-A .................................................................................................................................................................................22