| 5786 | } |
| 5787 | |
| 5788 | void testJNS(U8 instruction) { |
| 5789 | testJ(instruction, SF, false); |
| 5790 | testJ(instruction, CF, true); |
| 5791 | testJ(instruction, OF, true); |
| 5792 | testJ(instruction, PF, true); |
| 5793 | testJ(instruction, AF, true); |
| 5794 | testJ(instruction, ZF, true); |
| 5795 | |
| 5796 | // if not sign(SF = 0) |
| 5797 | testJumpCmp(instruction, 0, 0, true); |
| 5798 | testJumpCmp(instruction, 1, 0, true); |
| 5799 | testJumpCmp(instruction, 0, 1, false); |
| 5800 | testJumpCmp(instruction, 1, 0xffffffff, true); |
| 5801 | testJumpCmp(instruction, 0xffffffff, 1, false); |
| 5802 | } |
| 5803 | |
| 5804 | void testJS0x78() { |
| 5805 | cpu->big = false; |
no test coverage detected