6502

6502

(hardware)
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.

6502

An 8-bit microprocessor from Rockwell International Corporation used in the Apple II and earlier Atari and Commodore computers.
References in periodicals archive ?
The MDR-U6S rotorless rheometer operates in compliance with ISO 6502, ASTM D5289, JIS K6300-2 and GB/T 16584.
Corazon Nunez-Malanyaon, passed House Bill 6502, filed by Bohol Rep.
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.
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.
Japan-based Toshiba Corporation (TOKYO: 6502) has acquired privately held Consert Inc, an intelligent energy management company that converts electric consumption in homes and small businesses into cost-effective, clean sources of capacity and energy reserves for utilities.
To register, go to www.barclays.co.uk/businesshub or call 0845 124 6502.
For more information, visit the website: www.barclays.co.uk/businesshub or call 0845 124 6502.
The Swedish company's subsidiary Elekta KK will manage the overall relationship with Toshiba Medical, which is part of electronics giant Toshiba Corp (TYO: 6502), through its sales, marketing and service organisations.
Tickers featured: 005935, 0992, 2324, 2382, 6502, AAPL, HIT, HPQ, IMN, INTC, MMM, MU, NTAP, STEC, STX, WDC.
To advertise your vacancy call Mark on 020 7510 6502