SF == OF
| 5890 | |
| 5891 | // SF == OF |
| 5892 | void testJNL(U8 instruction) { |
| 5893 | testJ(instruction, SF | OF, true); |
| 5894 | testJ(instruction, ZF | PF | AF | CF, true); |
| 5895 | |
| 5896 | testJ(instruction, SF | PF, false); |
| 5897 | testJ(instruction, SF | CF, false); |
| 5898 | testJ(instruction, SF | AF, false); |
| 5899 | testJ(instruction, SF | ZF, false); |
| 5900 | |
| 5901 | testJ(instruction, OF | PF, false); |
| 5902 | testJ(instruction, OF | CF, false); |
| 5903 | testJ(instruction, OF | AF, false); |
| 5904 | testJ(instruction, OF | ZF, false); |
| 5905 | |
| 5906 | // signed: if not less (SF=OF) |
| 5907 | testJumpCmp(instruction, 0, 0, true); |
| 5908 | testJumpCmp(instruction, 1, 0, true); |
| 5909 | testJumpCmp(instruction, 0, 1, false); |
| 5910 | testJumpCmp(instruction, 1, 0xffffffff, true); |
| 5911 | testJumpCmp(instruction, 0xffffffff, 1, false); |
| 5912 | } |
| 5913 | |
| 5914 | void testJL0x7c() { |
| 5915 | cpu->big = false; |
no test coverage detected