Changes
6502
,/* Registers */
* bit0 - CF - Carry Flag
|| Flags are affected by most operations.
When Decimal Mode is on, the ADC and SBC instructions update NF, VF and ZF based on the binary result before the decimal correction is applied. Only and only CF is updated correctly. The CMOS chips update all the flags correctly.
DF is unchanged following an interrupt of any kind. This can cause unexpected bugs in the interrupt handler if Decimal Mode is on when an interrupt occurs.