Search found 2 matches

by ProfJ
Thu May 30, 2019 9:35 pm
Forum: Newbies
Topic: 6502 ALU pseudocode
Replies: 6
Views: 891

Re: 6502 ALU pseudocode

You may want to explain your selection of names. I don't think are common/standard. The DAA input(?) seems like it may have come from 8080 land. But it may just be me; I'm not an '02 guru. Nevertheless, this page linked to on the front page of 6502.org may be of some help:
http://6502.org/users ...
by ProfJ
Thu May 30, 2019 6:27 pm
Forum: Newbies
Topic: 6502 ALU pseudocode
Replies: 6
Views: 891

6502 ALU pseudocode

Hi Folks,

This is my first post on this forum, hope it's in the right place!

I'm trying to write some pseudocode for the 6502 ALU operation. It seems to be straightforward, except for the BCD addition when DAA is high. This is what I have (the variable names come from the block diagram, and I/ADDC ...