[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6502 test suite



Vladimir Ivanov wrote:
> 
> One more note - the set 'B' flag in the trace up-to $131E is wrong.
> 
> http://nesdev.com/the%20%27B%27%20flag%20&%20BRK%20instruction.txt
> 
> This page claims that PHP also pushes value with 'B' set. This is easy to 
> check.
>

Take a look at the Monitor's test for BRK. It does a PLA then rotates the
bits to test for the break flag.