Page 1 of 1

Detailed 6502 block diagram

Posted: Mon Dec 04, 2006 5:37 pm
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.

Posted: Mon Dec 11, 2006 8:55 pm
by debounce
Cool; thanks! If anyone's looking for the huge schematic of the die, please see this thread.

Greg

Posted: Wed Dec 20, 2006 6:26 am
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.

Posted: Wed Dec 20, 2006 9:53 am
by BitWise
kc5tja wrote:
Upon accessing the link, however, I get permission denied message.
I just tested the link and its working.

Posted: Wed Dec 20, 2006 4:00 pm
by kc5tja
That's very strange; must have been having some webserver problems, as I can now download it. Thanks.

Re: Detailed 6502 block diagram

Posted: Mon Nov 01, 2010 10:38 am
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