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.
Detailed 6502 block diagram
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
Detailed 6502 block diagram
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
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
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
kc5tja wrote:
Upon accessing the link, however, I get permission denied message.
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
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
Re: Detailed 6502 block diagram
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).
(this topic is the top hit for 6502 block diagram)
Cheers
Ed