MOS Technology 6502: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(Created page with "250px|right|6502AD (click to enlarge) The '''MOS 6502''' is an 8-bit processor that was originally developed by a team led by the engineer Chuck Peddle...")
 
No edit summary
Line 15: Line 15:


Depending on the manufacturer the fabrication process can be CMOS, HMOS and NMOS.
Depending on the manufacturer the fabrication process can be CMOS, HMOS and NMOS.
{| class="infobox" style="font-size:88%"
|-
|style="text-align:center" |''MOS 6502 registers''
|-
|
{| style="font-size:88%;"
|-
| style="width:10px; text-align:center;"| <sup>1</sup><sub>5</sub>
| style="width:10px; text-align:center;"| <sup>1</sup><sub>4</sub>
| style="width:10px; text-align:center;"| <sup>1</sup><sub>3</sub>
| style="width:10px; text-align:center;"| <sup>1</sup><sub>2</sub>
| style="width:10px; text-align:center;"| <sup>1</sup><sub>1</sub>
| style="width:10px; text-align:center;"| <sup>1</sup><sub>0</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>9</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>8</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>7</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>6</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>5</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>4</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>3</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>2</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>1</sub>
| style="width:10px; text-align:center;"| <sup>0</sup><sub>0</sub>
| style="width:auto;" | ''(bit position)''
|-
|colspan="17" | '''Main registers'''
|- style="background:silver;color:black"
| style="text-align:center; background:white" colspan="8"| &nbsp;
| style="text-align:center;" colspan="8"| A
| style="width:auto; background:white; color:black;"| '''A'''ccumulator
|-
|colspan="17" | '''Index registers'''
|- style="background:silver;color:black"
| style="text-align:center; background:white" colspan="8"| &nbsp;
| style="text-align:center;" colspan="8"| X
| style="background:white; color:black;"| '''X''' index
|- style="background:silver;color:black"
| style="text-align:center; background:white" colspan="8"| &nbsp;
| style="text-align:center;" colspan="8"| Y
| style="background:white; color:black;"| '''Y''' index
|- style="background:silver;color:black"
| style="text-align:center; background:#DDDDDD" colspan="8"| 0&nbsp; 0&nbsp; 0&nbsp; 0&nbsp; 0&nbsp; 0&nbsp; 0&nbsp; 1
| style="text-align:center;" colspan="8"| SP
| style="background:white; color:black;"| '''S'''tack '''P'''ointer
|-
|colspan="17" | '''Program counter'''
|- style="background:silver;color:black"
| style="text-align:center;" colspan="16"| PC
| style="background:white; color:black;"| '''P'''rogram '''C'''ounter
|-
|colspan="17" | '''Status register'''
|- style="background:silver;color:black"
| style="text-align:center; background:white" colspan="8" | &nbsp;
| style="text-align:center;"| N
| style="text-align:center;"| V
| style="text-align:center;"| -
| style="text-align:center;"| B
| style="text-align:center;"| D
| style="text-align:center;"| I
| style="text-align:center;"| Z
| style="text-align:center;"| C
| style="background:white; color:black" | '''P''' Processor flags
|}
|}


==Used in==
==Used in==
Line 24: Line 88:
* [http://www.6502.org 6502 information site including datasheets and other derivative processors]
* [http://www.6502.org 6502 information site including datasheets and other derivative processors]


==Pictures ==
<gallery>
6502diagram.JPG
</gallery>


[[Category:Integrated circuits]]
[[Category:Integrated circuits]]

Revision as of 16:56, 4 February 2019

6502AD (click to enlarge)
6502AD (click to enlarge)

The MOS 6502 is an 8-bit processor that was originally developed by a team led by the engineer Chuck Peddle. It was introduced in 1975 and it is still being produced. It was produced by the following companies.

    • California Micro Devices (GTE Microcircuits)
    • Commodore Semiconductor Group (MOS Technology)
    • Rockwell
    • Synertek
    • Western Design Center

Currently it is only produced by Western Design Center (WDC)

It was a popular choice of processor because of it's low price and high capabilities. It was used in multiple early computers such as the Commodore 64, Commodore VIC-20, Apple II, BBC micro, and many others.

Internals

The 6502 had many revisions and derivatives. Most of the revisions have either enhanced it's capabilities or have added new features.

Depending on the manufacturer the fabrication process can be CMOS, HMOS and NMOS.

MOS 6502 registers
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 (bit position)
Main registers
  A Accumulator
Index registers
  X X index
  Y Y index
0  0  0  0  0  0  0  1 SP Stack Pointer
Program counter
PC Program Counter
Status register
  N V - B D I Z C P Processor flags

Used in

Documents

Pictures