The W65C816S (also 65C816 or 65816) is a 16 bit microprocessor (MPU) developed by the Western Design Center (WDC). The W65C816S is an enhanced version of the WDC 65C02 8 bit MPU, itself a CMOS enhancement of the venerable MOS Technology 6502 NMOS MPU. The 65 in the part's designation comes from its 65C02 compatibility mode, and the 816 signifies that the MPU has selectable 8– and 16–bit register sizes.
In addition to the availability of 16 bit registers, the W65C816S features extended memory addressing to 24 bits, supporting up to 16 megabytes of random access memory, an enhanced instruction set, and a 16 bit stack pointer, as well as several new electrical signals for improved system hardware management.
At reset, the W65C816S starts in "emulation mode," meaning it essentially behaves as a 65C02. Following reset, the W65C816S may be switched to "native mode" with a two instruction sequence, causing it to enable all enhanced features, yet still maintain a substantial degree of backward compatibility with most 65C02 software. However, unlike the PDIP40 version of the 65C02, which is a pin-compatible replacement for its NMOS ancestor, the PDIP40 W65C816S (illustrated above) is not.
Contents |
History
Development of the W65C816S commenced in 1982 after Bill Mensch, founder and CEO of WDC, consulted with Apple Computer on a new version of the Apple II series of personal computers. Apple wanted an MPU that would be software compatible with the 65C02 then in use in the Apple IIC but with the ability to address more memory, and to load and store 16 bit words. The result was the 65C816, finished in March 1984, with samples provided to both Apple and Atari. Apple subsequently integrated the 65C816 into the Apple IIGS computer. Mensch was aided during the design process by his sister Kathryn, who was responsible for part of the layout.
In the 1990s, the 65C816 (as well as the antecedent 65C02) was converted to a fully static core, which made it possible to completely stop the processor clock without losing data in any of the registers. This feature, along with the use of asynchronous static RAM, made it possible to produce designs that used minimal power when in a standby state.
The basic 65816 design was second-sourced by GTE, Sanyo and others from the mid-to-late 1980s to the early 1990s. As of 2009[update], the W65C816S is available from WDC in a 40 pin PDIP or PLCC44 package, as well as a core for ASIC integration (for example Winbond's W55V9x series of TV Edutainment ICs). WDC, itself a fabless semiconductor company, works with various foundries to produce the W65C816S, as well as other compatible products.
In the past, WDC offered a 65(C)02 PDIP40 pin-compatible variant of the W65C816S referred to as the 65C802. The 65C802 was fully compatible with the 65C02 in all respects, but could be made to behave as a 65C816 if desired (including the use of 16–bit registers). The 65C802 was produced by WDC and GTE during the mid-to-late 1980s and early 1990s. Typically, when hardware manufacturers designed a project from the ground up, they used the 65C816 rather than the 65C802, resulting in the latter being withdrawn from production.
Features
- Fully static CMOS design for low power consumption (300 µA at one MHz) and increased noise immunity.
- Wide operating voltage range: 1.8 V ± 5%, 2.5 V ± 5%, 3.0 V ± 5%, 3.3 V ± 10%, 5.0 V ± 5% for use with varying voltage peripherals.
- Wide operating frequency range.
- Emulation mode allows complete software compatibility with the 65C02, excepting undocumented opcodes.
- 24-bit memory addressing provides access to 16 MB of memory space.
- 16-bit ALU, accumulator, stack pointer and index registers.
- Valid Data Address (VDA) and Valid Program Address (VPA) outputs for dual cache and cycle steal DMA implementation.
- Vector Pull (VPB) output to indicate when an interrupt vector is being addressed.
- Abort (ABORTB) input and associated vector supports processor repairs of bus error conditions, such as memory access violations.
- Separate program and data bank registers allow program segmentation or 16 MB linear addressing (data only).
- Direct register and stack relative addressing provides capability for reentrant, recursive and re-locatable programming.
- 24 addressing modes—13 original 6502 modes with 92 instructions using 256 op codes, including most new opcodes implemented in the 65C02.
- Wait-for-Interrupt (WAI) and Stop-the-Clock (STP) instructions further reduce power consumption, decrease interrupt latency and allows synchronization with external events.
- Co-Processor (COP) instruction with associated vector supports co-processor configurations, e.g., floating point processors
- Reserved "escape" opcode (WDM) for use in future designs (e.g., the yet-to-be-release Terbium 32 bit MPU).
- Block-move instructions, allowing rapid copying of data structures from one area of RAM to another with minimal code.
Notable applications
- Acorn Communicator
- Apple IIGS
- C-One Reconfigurable Computer (standard CPU/RAM card)
- Super Nintendo Entertainment System (customized CPU version, known as the 5A22)
A number of SNES games contained the Nintendo SA-1, an upgraded version of the W65C816S.
- SuperCPU An upgrade for the Commodore 64.[1]
See also
References
| This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (October 2008) |
- Eyes, David; Lichty, Ron (1986). Programming the 65816 including the 6502, 65C02, and 65802. New York: Brady Books/Prentice Hall Press (Simon & Schuster, Inc). ISBN 0-89303-789-3.
External links
- W65C816S information on WDC's website – Including a link to the PDF-format datasheet
- The Complete W65C816S Datasheet
- A 6502 Programmer's Introduction to the 65816 – A Commodore World article by Brett Tabke; includes CMD's instruction set summary
- 65816/65C816 Technical Documents – Hosted by Zophar's Domain
- Winbond TV Edutainment IC Selection Guide – ICs with 65816 CPU core
This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.
| 65xx-series CPUs from MOS Technology, second source/clone vendors, and the Western Design Center |
|
MOS 4510 ● MOS 6501 ● MOS 6502 ● WDC 65C02 ● Hudson HuC6280 ● Ricoh 2A03 ● MOS 6507 ● MOS 6508 ● MOS 6509 |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




