An eight-bit microprocessor designed by MOS Technologies around 1975 and made by Rockwell.

Unlike the Intel 8080 and its kind, the 6502 had very few registers. It was an 8-bit processor, with 16-bit address bus. Inside was one 8-bit data register (accumulator), two 8-bit index registers and an 8-bit stack pointer (stack was preset from address 256 to 511). It used these index and stack registers effectively, with more addressing modes, including a fast zero-page mode that accessed memory locations from address 0 to 255 with an 8-bit address (it didn't have to fetch a second byte for the address).

Back when the 6502 was introduced, RAM was actually faster than CPUs, so it made sense to optimise for RAM access rather than increase the number of registers on a chip.

The 6502 was used in the BBC Microcomputer, Apple II, Commodore, Apple Computer and Atari personal computers. Steve Wozniak described it as the first chip you could get for less than a hundred dollars (actually a quarter of the 6800 price).

The 6502's indirect jump instruction, JMP (xxxx), was broken. If the address was hexadecimal xxFF, the processor would not access the address stored in xxFF and xxFF + 1, but rather xxFF and xx00. The 6510 did not fix this bug, nor was it fixed in any of the other NMOS versions of the 6502 such as the 8502. Bill Mensch at Western Design Center was probably the first to fix it, in the 65C02.

The 6502 also had undocumented instructions.

The 65816 is an expanded version of the 6502.

There is a 6502 assembler by Doug Jones <jones@cs.uiowa.edu> which supports macros and conditional features and can be used for linkage editing of object files. It requires Pascal.

See also cross-assembler, RTI, Small-C.


An 8-bit microprocessor from Rockwell International Corporation used in the Apple II and earlier Atari and Commodore computers.
References in periodicals archive ?
The range includes the CHO-SEAL 6502 and 6503 conductive elastomer gaskets, which are especially well suited to harsh environments where high performance (>100 dB) shielding is reguired.
Il s'agit de fournir aux ecoliers, eleves et tout autre apprenant en Tunisie, les moyens technologiques actuels pour acceder au savoir de qualite grace a la fourniture par les deux operateurs de l'internet a haut debit a 6502 etablissements d'enseignement du pays, precise le site ecofin.
The unorthodox experimental subject, the MOS 6502, is the same chip that dazzled early tech junkies and kids alike in the 1980s by powering Donkey Kong, Space Invaders and Pitfall, as well as the Apple I and II computers.
Tickers featured: 005935, 6502, 6702, AAPL, HIT, HOCPY, INTC, MSFT, STEC, STX, WDC.
To advertise your vacancy call Mark on 020 7510 6502
For information call on 029 2070 6502, 07870 626318 or visit www.
Contact: Sadhana Ravishankar, National Center for Food Safety and Technology, Illinois Institute of Technology, 6502 S.
Contact: Vanee Komolprasert, National Center for Food Safety and Technology, 6502 S.
The model FTS 6502 distribution amplifier provides a means to divide and deliver a 100 kHz to 10 MHz sine wave signal to 10 locations with high channel-to-channel isolation and low added phase noise.
Section 6502, however, has a six-year statute of limitations, which applies to the collection of these penalties once they have been assessed.
Tickers featured: 005935, 0992, 2324, 2382, 6502, AAPL, HIT, HPQ, IMN, INTC, MMM, MU, NTAP, STEC, STX, WDC.
Contact: Matt Botos, National Center for Food Safety and Technology, Illinois Institute of Technology, 6502 S.