[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

6502 Bug Information



    Where do I get 6502 Bug Information for NMOS 6502?

    They still claim that BCD does not set N, V, and Z flags correctly.  Can
you describe what does INVALID FLAGs mean?  I understand that 6502 sets the
wrong flag according to 6502's bug design.  For example, BCD $60 assigns "1"
to Z flag that it should be always "0".
    Does it mean that invalid flag will assign 0 or 1 at random each ADC and
SBC?  Or...it is always set wrong at fixed each ADC and SBC?
    I have created a table from 1 through 65536 records since I mentioned in
the newsgroups earlier.  I claim that NMOS 6502 only assign the wrong 0 or 1
to N and Z flag at fixed, but not at random.
    I use word fixed and random.  Fixed means that 6502 always sets 0 or 1
to N and Z flags wrong according to what 6502 wants.  Random means that 6502
never sets 0 or 1 to N and Z flags BEFORE or AFTER ADC/SBC execution.  It is
like LDA sets 0 or 1 to N and Z flags before ADC/SBC while flags are never
updated by ADC/SBC.
    Am I correct according to BCD bug?

    Please tell me where to find Bug Information that comes from Rockwell
Data Book since David Wilson mentioned it.

Bryan Parkoff