matheusgomes28 / 65k-cpp

6502 Emulator written in C++
7 stars 1 forks source link

Implement the Status Register #39

Closed matheusgomes28 closed 1 month ago

matheusgomes28 commented 1 month ago

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.

matheusgomes28 commented 1 month ago

Closed with #40