mos6502 icon indicating copy to clipboard operation
mos6502 copied to clipboard

access to uninitialized status bits

Open wattyka opened this issue 6 years ago • 1 comments

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!

wattyka avatar Feb 19 '20 18:02 wattyka

hello, thanks for raising the issue. Would you like to make a pull req with the fix?

gianlucag avatar Feb 23 '20 19:02 gianlucag