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