mos6502
mos6502 copied to clipboard
access to uninitialized status bits
The "status" member has uninitialized bits. When I noticed that a static instance of mos6502 would work as expected but one on the stack or heap would show subtle differences in program execution (static data=bss), it pointed me to the bug.
Otherwise, this is a very nice and efficient piece of code. Using it for my second project. I love it!
hello, thanks for raising the issue. Would you like to make a pull req with the fix?