| 5675 | } |
| 5676 | |
| 5677 | void testJNZ(U8 instruction) { |
| 5678 | testJ(instruction, ZF, false); |
| 5679 | testJ(instruction, OF, true); |
| 5680 | testJ(instruction, PF, true); |
| 5681 | testJ(instruction, AF, true); |
| 5682 | testJ(instruction, CF, true); |
| 5683 | testJ(instruction, SF, true); |
| 5684 | |
| 5685 | // if not zero (ZF=9) |
| 5686 | testJumpCmp(instruction, 0, 0, false); |
| 5687 | testJumpCmp(instruction, 1, 0, true); |
| 5688 | testJumpCmp(instruction, 0xffffffff, 0, true); |
| 5689 | testJumpCmp(instruction, 0, 1, true); |
| 5690 | testJumpCmp(instruction, 0, 0xffffffff, true); |
| 5691 | testJumpCmp(instruction, 0xffffffff, 0xffffffff, false); |
| 5692 | } |
| 5693 | |
| 5694 | void testJZ0x74() { |
| 5695 | cpu->big = false; |
no test coverage detected