Detailed 6502 block diagram

Let's talk about anything related to the 6502 microprocessor.
Post Reply
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Detailed 6502 block diagram

Post by BitWise »

This paper http://www.ncsu.edu/wcae/WCAE1/hanson.pdf contains a much more detailed block diagram for the 6502 than is present in any of the data sheets (see last page). You can see the same image here http://www.pagetable.com/?p=39 as well - but a bit quicker.

You can see from the diagram how the ALU uses a inverters on the second input to ones-complement before addition to generate a subtraction, and has a completely seperate module for decimal adjustment.

I can feel some VHDL coming on.

**Edit Added alternative link.
Last edited by BitWise on Tue Nov 02, 2010 2:04 pm, edited 1 time in total.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
debounce
Posts: 27
Joined: 23 Nov 2004
Location: London, UK

Post by debounce »

Cool; thanks! If anyone's looking for the huge schematic of the die, please see this thread.

Greg
kc5tja
Posts: 1706
Joined: 04 Jan 2003

Post by kc5tja »

I knew about the inverters just by the fact that you have to SEC before SBC. :D

Upon accessing the link, however, I get permission denied message.
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Post by BitWise »

kc5tja wrote:
Upon accessing the link, however, I get permission denied message.
I just tested the link and its working.
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
kc5tja
Posts: 1706
Joined: 04 Jan 2003

Post by kc5tja »

That's very strange; must have been having some webserver problems, as I can now download it. Thanks.
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: Detailed 6502 block diagram

Post by BigEd »

BitWise wrote:
This paper contains a much more detailed block diagram for the 6502 than is present in any of the data sheets (see last page).
Hanson's block diagram is now found on pagetable's article about illegal opcodes.

(this topic is the top hit for 6502 block diagram)

Cheers
Ed
Post Reply