The W65C816S (also 65C816 or 65816) is a 16-bit microprocessor or CPU developed and sold by the Western Design Center (WDC). Introduced in 1985, the W65C816S is an enhanced version of the WDC 65C02 8-bit CPU, itself a CMOS enhancement of the venerable MOS Technology 6502 NMOS CPU. The 65C816 is the CPU for the Apple IIGS and, in modified form, the Super Nintendo Entertainment System. 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 extends memory addressing to 24 bits, supporting up to 16 megabytes of random-access memory. It has 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 substantially behaves as a 65C02. Thereafter, 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. Unlike the PDIP40 version of the 65C02, which is a pin-compatible replacement for its NMOS ancestor, the PDIP40 W65C816S is not pin-compatible with any other 6502 family MPU. The W65C802 or 65802 is completely software-compatible with the 65C816 and it is also electrically compatible with the 6502 and 65C02. Hence the W65C802 could be used as a drop-in replacement in most systems equipped with a 6502 or 65C02. Since the W65C802 has a limited number of pins and does not use multiplexing, it cannot emit a 24-bit address, which limits it to a 64 KB address space. The W65C802 is no longer produced.
History
In 1981, Bill Mensch, founder and CEO of WDC, began development of the 65C02 with his production partners, primarily Rockwell Semiconductor and Synertek. The primary goal of the 65C02 effort was to move from the original 6502's NMOS process to the CMOS process, which would allow it to run at much lower power levels, somewhere between 1⁄10 and 1⁄20 at any given clock speed. Also desired was the ability to raise the maximum supported clock speed. The 65C02 design addressed chip errata present in the NMOS 6502 (e.g., the infamous JMP (<addr>) bug) and introduced new instructions and new addressing modes for some existing instructions. Development of the W65C816S commenced in 1982 after Mensch consulted with Apple Computer on a new version of the Apple II series of personal computers that would, among other things, have improved graphics and sound. Apple wanted an MPU that would be software compatible with the 6502 then in use in the Apple II 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 Corporation in the second half of the year and full release in 1985. Mensch was aided during the design process by his sister Kathryn, who was responsible for part of the device's layout. The same process also led to the 65C802, which was identical inside to the 65C816. Both were produced on the same fabrication lines and diverged only during the last metalization stages when the chip was being connected to the external pins. In the 65C802, those pins had the same layout as the original 6502, which allowed it to be used as a drop-in replacement while still allowing the 16-bit processing of the CPU to be used. As it used the original pinout, it had only 16 addressing pins, however, and could therefore only access 64 KB of external memory. 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. Apple integrated the 65C816 into the Apple IIGS computer. The basic 65C816 design was second-sourced by VLSI Technology, GTE, Sanyo and others from the mid-to-late 1980s to the early 1990s. In the 1990s, both the 65C816 and 65C02 were converted to a fully static core, which made it possible to completely stop the processor's Ø2 clock without loss of register contents. 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. As of April 2025, the W65C816S is available from WDC in 40-pin PDIP, PLCC44, or 44-pin TQFP packaging, as an MCU through the W65C265, and as IP cores for ASIC integration (for example Winbond's W55V9x series of TV Edutainment ICs).
Features
WDC 65C816 features:
… excerpt ends here. Continue reading the full article.



