English
Language : 

W65C816S Datasheet, PDF (57/62 Pages) List of Unclassifed Manufacturers – Microprocessor
The Western Design Center, Inc.
W65C816S Data Sheet
8.1 Stack Addressing
When in the Native mode, the Stack may use memory locations 000000 to 00FFFFF. The effective address of
Stack, Stack Relative, and Stack Relative Indirect Indexed addressing modes will always be within this range.
In the Emulation mode, the Stack address range is 000100 to 0001FF. The following OpCodes and addressing
modes will increment or decrement beyond this range when accessing two or three bytes: JSL, JSR (a,x), PEA,
PEI, PER, PHD, PLD, RTL
8.2 Direct Addressing
8.2.1 The Direct Addressing modes are often used to access memory registers and pointers. The effective
address generated by Direct; Direct,X and Direct,Y addressing modes will always be in the Native mode range
000000 to 00FFFF. When in the Emulation mode, the direct addressing range is 000000 to 0000FF, except for
[Direct] and [Direct],Y addressing modes and the PEI instruction which will increment from 0000FE or
0000FF into the Stack area.
8.2.2 When in the Emulation mode and DH is not equal to zero, the direct addressing range is 00DH00 to
00DHFF, except for [Direct] and [Direct],Y addressing modes and the PEI instruction which will increment
from 00DHFE or 00DHFF into the next higher page.
8.2.3 When in the Emulation mode and DL in not equal to zero, the direct addressing range is 000000 to
00FFFF.
8.3 Absolute Indexed Addressing
The Absolute Indexed addressing modes are used to address data outside the direct addressing range. The
W65C02S addressing range is 0000 to FFFF. Indexing from page FFXX may result in a 00YY data fetch when
using the W65C02S. In contrast, indexing from page ZZFFXX may result in ZZ+1,00YY when using the
W65C816S.
8.4 ABORTB Input
8.4.1 ABORTB should be held low for a period not to exceed one cycle. Also, if ABORTB is held low
during the Abort Interrupt sequence, the Abort Interrupt will be aborted. It is not recommended to abort the
Abort Interrupt. The ABORTB internal latch is cleared during the second cycle of the Abort Interrupt.
Asserting the ABORTB input after the following instruction cycles will cause registers to be modified:
8.4.1.1 Read-Modify-Write: Processor sta tus modified if ABORTB is asserted after a modify cycle.
8.4.1.2 RTI: Processor status modified if ABORTB is asserted after cycle 3.
8.4.1.3 IRQB, NMIB, ABORTB BRK, COP: When ABORTB is asserted after cycle 2, PBR and
DBR will become 00 (Emulation mode) or PBR will become 00 (Native mode).
8.4.2 The ABORT Interrupt has been designed for virtual memory systems. For this reason, asynchronous
ABORTB's may cause undesirable results due to the above conditions
8.5 VDA and VPA Valid Memory Address Output Signals
When VDA or VPA are high and during all write cycles, the Address Bus is always valid. VDA and VPA
should be used to qualify all memory cycles. Note that when VDA and VPA are both low, invalid addresses
may be generated. The Page and Bank addresses could also be invalid. This will be due to low byte addition
only. The cycle when only low byte addition occurs is an optional cycle for instructions which read memory
when the Index Register consists of 8 bits. This optional cycle becomes a standard cyc le for the Store
instruction, all instructions using the 16-bit Index Register mode, and the Read-Modify-Write instruction when
using 8- or 16-bit Index Register modes.
The Western Design Center
W65C816S
57