MOS6502: The flag and status checks work as they should with bit masking and shifting. Unit tests to follow.