This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade. View original topic
Clear processor_status register?
by ens_leader on 2009-01-12 (#41756)
Would it be wise to clear the processor status register before each operand/instruction executes thus leaving the instruction a cleared (zeroed) processor status register?
Most instructions affect only a subset of the flags, leaving the others untouched. The various documents should cover this. Clear all flags before every instruction only if you want an incorrect emulator.