WDC 65C02

WDC 65C02

The Western Design Center WDC 65C02 microprocessor is an upgraded CMOS version of the popular NMOS-based MOS Technology 6502 8-bit CPU — the CMOS redesign being made by Bill Mensch of the Western Design Center (WDC). Over various periods of time, the 65C02 has been second-sourced by NCR, GTE, Rockwell, Synertek and Sanyo.

Introduction and features

The W65C02S is a low-power general-purpose 8-bit microprocessor (8-bit registers and data bus) with a 16-bit program counter and address bus. It is a fully static core which allows the primary clock to be slowed down indefinitely or fully stopped in either the high or low state. The variable length instruction set and manually optimized core size are intended to make the W65C02S be well suited for low power system-on-chip (SoC) designs.

WDC makes a Verilog hardware description model available for designing the 65C02 core into ASICs and FPGAs. As is common in the semiconductor industry, the company also provides a development system, which includes a developer board, an in-circuit emulator (ICE) and a software development system.

General logic features

* 8-bit data bus
* 16-bit address bus (providing an address space of 64K bytes)
* 8-bit arithmetic logic unit (ALU)
* 8-bit processor registers:
**accumulator
**stack pointer
**index registers
**status register
* 16-bit program counter
* 69 instructions, implemented by 212 operation codes
* 16 addressing modes, including zero page addressing

Logic specifics

* Vector Pull (VPB) output indicates when interrupt vectors are being addressed
* WAit-for-Interrupt (WAI) and SToP (STP) instructions reduce power consumption, decrease interrupt latency and enable synchronization with external events

Electrical features

* Operating voltage range specified at 1.8/2.5/3.0/3.3/5.0 V ±5%
* Power consumption of 150uA @ 1 MHz
* Variable length instruction set, enabling code size optimization over fixed length instruction set processors, which also results in power savings
* Fully static circuitry allows stopping the clock to conserve power

Comparison with the MOS 6502

Instruction set

The 65C02 shares its predecessor's 8-bit instruction set architecture and 16-bit memory addressing, but adds a number of improvements and documented opcodes, the most useful being instructions that can push or pull the .X and .Y index registers to/from the stack. Undefined opcodes have been converted into NOPs, although of varying instruction lengths.

Significantly, the defective "indirect jump page wrap" instruction (JMP (), where straddles a memory page boundary) has been fixed, eliminating a constant source of trouble for unwary assembly language programmers. This instruction has also been enhanced with .X register indexing, making it possible to code JMP (,X), enabling the development of a simple jump table management methodology.

Some variants of the 65C02 (including the WDC W65C02S and the Rockwell R65C00 family) feature individual bit manipulation operations (RMB, SMB, BBR and BBS). The 65SC02 was also available, which lacked these operations.

tatus register

Other problems with the 6502, fixed in the 65C02, relate to its program status register, which contains eight system flags. Some flags are set or reset under program control. Others reflect the status of the machine after arithmetic or bit manipulation instructions.

In all NMOS logic forms of the 6502, the decimal flag (D flag) is not initialized to a known state following reset or when an interrupt is processed, which may lead to arbitrary behavior. This forces 6502 programmers to use the CLD instruction early in the reset handler code (it is generally the second instruction executed after SEI), as well as in the front end of the interrupt handler. The 65C02 addresses these problems by causing the D flag to be cleared at reset or upon receipt of an interrupt (after the status register is push on to the stack).

Also, in NMOS 6502s, the N flag is invalid when the processor is operating in decimal mode. The 65C02 fixes this problem (at the cost of an additional clock cycle), and thus increases the usefulness of decimal mode.

Notable uses of the 65C02

Home computers

* Apple IIc portable improved Apple II, by Apple Computer
* Apple Enhanced IIe by Apple Computer
* BBC Master home/educational computer, by Acorn Computers Ltd (65SC12 plus optional 65C102)
* Replica I by Briel Computers, a replica of the Apple I hobbyist computer

Video game consoles

* Atari Lynx handheld (65SC02 @ 4 MHz)
* TurboGrafx-16 aka PC Engine (HuC6280 @ 1.78 MHz and 7.16 MHz), by NEC
* GameKing handhelds (6 MHz), by Time Top
* Watara Supervision handhelds (65SC02 @ 4 MHz)

Other products

* TurboMaster accelerator cartridge for the Commodore 64 home computer (65C02 @ 4.09 MHz)
* mephisto MMV chess computer (4–20 MHz)

External links

* [http://www.65xx.com/wdc/w65c02s-chip.cfm W65C02S 8–bit Microprocessor] – Resource page at WDC's 65xx.com website
* [http://axis.llx.com/~nparker/a2/opcodes.html The 6502/65C02/65C816 Instruction Set Decoded] – From Neil Parker's Apple II page
* [http://www.cpu-world.com/info/6502/65xx_65Cxx_65SCxx_differences.html CPU World]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • WDC 65C02 — microprocesador. El WDC 65C02 (también llamado 65C02 y W65C02) es un microprocesador de Western Design Center que representa una versión mejorada en tecnología CMOS del microprocesador de 8 bits MOS 6502 (NMOS) realizada por William D. Mensch, Jr …   Wikipedia Español

  • WDC 65C02 — WDC W65C02S8p 14 65C02  микропроцессор, разработанный фирмой Western Design Center (WDC) на основе архитектуры MOS Technology 6502 и впоследствии выпускавшийся также рядом других фирм, таких как NCR, GTE, Rockwell International, SynerTek и… …   Википедия

  • 65C02 — WDC W65C02S8p 14 65C02  микропроцессор, разработанный фирмой Western Design Center (WDC) на основе архитектуры MOS Technology 6502 и впоследствии выпускавшийся также рядом других фирм, таких как NCR, GTE, Rockwell International, SynerTek и… …   Википедия

  • WDC 65816/65802 — Микропроцессор W65C816S. W65C816S (а также 65C816 или 65816)  16 битный микропроцессор, разработанный компанией Western Design Center (WDC). W65C816S является улучшенной версией 8 битного WDC …   Википедия

  • WDC 65816/65802 — The WDC 65816 (also: 65C816), a 16 bit microprocessor CPU developed by the Western Design Center (WDC), is an expanded and compatible successor to the venerable MOS Technology 6502. The number 65 in the 65816 s name comes from the 6502… …   Wikipedia

  • 65C02 — Der MOS Technology 6502 ist ein 8 Bit Mikroprozessor von MOS Technology, Inc., der 1975 auf den Markt kam. Aufgrund seiner Unkompliziertheit und vor allem des im Vergleich zu den etablierten Intel und Motorola Prozessoren sehr niedrigen Preises… …   Deutsch Wikipedia

  • Apple II-Modelle — Liste von Apple I / II / III (8 und 16 Bit) Modellen 1976: Apple I (Bausatz, 8 Bit Datenbus MOS 6502) Apple II Reihe (8 und 16 Bit Datenbus) 1977 Apple ][ (8 Bit Datenbus MOS 6502) 1978 Apple ][ Plus (8 Bit Datenbus MOS 6502) 1978 Apple ][… …   Deutsch Wikipedia

  • MOS Technology 6502 — Процессор 6502 в пластмассовом корпусе DIP 40 MOS Technology 6502, или просто 6502,  восьмиразрядный микропроцессор, разработанный компанией MOS Technology …   Википедия

  • Apple IIe Card — Saltar a navegación, búsqueda La tarjeta PDS Apple IIe Card, cuenta con una CPU 65C02, Mega II, IWM y 256 KB de RAM La Apple IIe Card (Apple Computer part #820 0444 A) es el Apple II más pequeño jamás diseñado, aunque su característica de… …   Wikipedia Español

  • Bill Mensch — American engineer William David Mensch, Jr., born 9 February 1945 in Quakertown, Pennsylvania, is the founder, chairman and CEO of the Western Design Center (WDC) of Mesa, Arizona. Before founding the Western Design Center in 1978, Mensch held… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”