6502

toc =Register Files= Like its precursor, the Motorola 6800 (but unlike Intel 8080) the 6502 has very few registers. There was one 8-bit accumulator register (A), two 8-bit index registers (X and Y), an 8-bit processor status register (P), an 8-bit stack pointer (S), and a 16-bit program counter (PC).
 * Home * Hardware * 6502**
 * [[image:6502_top_op10x_BF_4677_sm.jpg width="180" height="195" link="http://visual6502.org/images/6502/index.html"]] ||~  || The **6502** is an 8-bit [|microprocessor] that was designed by [|Chuck Peddle] and [|Bill Mensch] for [|MOS Technology] in 1975. Peddle and Mensch were previously involved in designing the Motorola 6800. The 6502's performance was actually competitive with other CPUs using significantly faster clocks, partly due to a simplistic state machine implemented by combinatorial logic to a greater extent than in many other designs. Therefor it was a popular processor for dedicated chess computers as well as general purpose systems such as the [|single board computer] KIM-1, and early home computers, notably Apple II, Atari 8-bit, Commodore PET and Commodore 64, which actually uses a close derivative of the 6502, the [|6510]. ||
 * 6502 surface ||~  ||^   ||

=Endianess= Unlike Motorola 6800, the 6502 is a little-endian processor, concerning the byte-order of 16-bit words in memory.

=Quotes= By Dan and Kathe Spracklen from their //Oral History// on the advantages of the 6502 compared to 8080/Z80 while porting Sargon:

|| =Architecture=  =TK20= =See also=
 * [[image:6502Chip.gif link="http://www.erich-foltyn.eu/Technique/6502.html"]] ||
 * MC650x Internal Architecture ||
 * [[image:TurboKit20.jpg link="http://old.csvn.nl/gallery24.html"]] ||~ || The TurboKit TK20 by German engineering company //Schaetzle+Bsteh// was a discrete 6502 compatible 18 MHz high speed CPU with own fast shadow memory build from more than 100 [|integrated circuits], dedicated for general purpose and chess computers with 6502 processor, connected via a ribbon cable to the 40 pin processor socket of the host system  . The TK 20 was used by Ed Schröder with his dedicated Rebel programs at the WCCC 1986 and various World Microcomputer Chess Championship, and also by Ulf Rathsman and his Y! programs. Further, the dedicated Saitek Leonardo Turbo mini series was extended by //Schaetzle+Bsteh// with an 18 MHz integrated TurboKit .  ||
 * TK20 ||~ ||^ ||
 * 6800
 * 8080
 * Z80

=Manuals=
 * [|6502 Programming Manual], August 1976 (pdf)

=Selected Publications= > For instance, how to flip the board in 6502 Assembly : >
 * Peter Jennings (**1976**). //[|MicroChess, a Chess playing program for the 6502 Microcomputer]//. [|pdf], Courtesy of Peter Jennings, The Computer History Museum
 * [|Lance A. Leventhal] (**1979**). //6502 Assembly Language Programming//. Osborne/[|McGraw-Hill], [|pdf]
 * Editor (**1981**). //Battle of the Chips//. Personal Computing, Vol. 5, No. 1, pp. 82 » [Z80
 * [|Rodnay Zaks] (**1983**). //Programming the 6502 (Fourth Edition)//. Sybex, Inc. ISBN 0-89588-135-7.

=Forum Posts=
 * [|Retrocomputing with the 6502] by Steven Edwards, CCC, June 22, 2007
 * [|Vintage Chess Programming] by Srdja Matovic, CCC, October 08, 2011
 * [|My Arduino-Based 6502 Simulation/Emulation...thing?] by halkun, [|6502.org Forum], November 26, 2012 » Arduino

=External Links= > [|6502.org Forum]
 * [|MOS Technology 6502 from Wikipedia]
 * [|6502 Assembly - Wikibooks]
 * [|6502.org: The 6502 Microprocessor Resource]
 * [|Visual6502.org]
 * [|NMOS 6502 ALU] from [|Dieter's Homepage]
 * [|Wieder lieferbar: der 6502-Mikroprozessor] from [|heise online], January 25, 2012 (German)

=References= =What links here?= include component="backlinks" page="6502" limit="180"
 * Up one Level**