SF != OF
| 5861 | |
| 5862 | // SF != OF |
| 5863 | void testJL(U8 instruction) { |
| 5864 | testJ(instruction, SF, true); |
| 5865 | testJ(instruction, OF, true); |
| 5866 | |
| 5867 | testJ(instruction, SF | OF, false); |
| 5868 | testJ(instruction, CF, false); |
| 5869 | testJ(instruction, PF, false); |
| 5870 | testJ(instruction, AF, false); |
| 5871 | testJ(instruction, ZF, false); |
| 5872 | |
| 5873 | testJ(instruction, SF | PF, true); |
| 5874 | testJ(instruction, SF | CF, true); |
| 5875 | testJ(instruction, SF | AF, true); |
| 5876 | testJ(instruction, SF | ZF, true); |
| 5877 | |
| 5878 | testJ(instruction, OF | PF, true); |
| 5879 | testJ(instruction, OF | CF, true); |
| 5880 | testJ(instruction, OF | AF, true); |
| 5881 | testJ(instruction, OF | ZF, true); |
| 5882 | |
| 5883 | // signed: if less (SF<>OF) |
| 5884 | testJumpCmp(instruction, 0, 0, false); |
| 5885 | testJumpCmp(instruction, 1, 0, false); |
| 5886 | testJumpCmp(instruction, 0, 1, true); |
| 5887 | testJumpCmp(instruction, 1, 0xffffffff, false); |
| 5888 | testJumpCmp(instruction, 0xffffffff, 1, true); |
| 5889 | } |
| 5890 | |
| 5891 | // SF == OF |
| 5892 | void testJNL(U8 instruction) { |
no test coverage detected