So far I've always assumed that the status flags were sufficient to model the 6502 Cpu accurately.
I didn't realise that we have specific instructions like PHP (0x08) that act on the collection of flags in the SR register. This probably means a breaking change in the Registers struct, as well as making sure that the Flags is somehow a bitfield of the SR flag.
So far I've always assumed that the status flags were sufficient to model the 6502 Cpu accurately.
I didn't realise that we have specific instructions like
PHP
(0x08
) that act on the collection of flags in theSR
register. This probably means a breaking change in theRegisters
struct, as well as making sure that theFlags
is somehow a bitfield of theSR
flag.