[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wanted:info on IIe extension
dempson@actrix.gen.nz (David Empson) writes:
>3. Decimal mode implements the N, V and Z flags, at the expense of one
>additional clock cycle for each ADC/SBC in decimal mode.
Does anyone have a Rockwell R65C02 in their computer? According to the Rockwell
data book I have, the R65C02 only fixes the N flag - the Z flag is still invalid
after an ADC or SBC in decimal mode. This would be easy to check:
LDA #$99
CLC
SED
ADC #$01
CLD
BRK
At this point N should be clear, Z should be set. I guess this would be unlikely
to cause problems as most code would be assuming a 6502 and ignoring the flags.