| 5551 | } |
| 5552 | |
| 5553 | void testJO(U8 instruction) { |
| 5554 | testJ(instruction, OF, true); |
| 5555 | testJ(instruction, CF, false); |
| 5556 | testJ(instruction, PF, false); |
| 5557 | testJ(instruction, AF, false); |
| 5558 | testJ(instruction, ZF, false); |
| 5559 | testJ(instruction, SF, false); |
| 5560 | |
| 5561 | testJumpCmp(instruction, 0, 0, false); |
| 5562 | testJumpCmp(instruction, 1, 0, false); |
| 5563 | |
| 5564 | if (cpu->big) { |
| 5565 | testJumpCmp(instruction, 0x80000000, 0x10000000, true); |
| 5566 | } else { |
| 5567 | testJumpCmp(instruction, 0x8000, 0x1000, true); |
| 5568 | } |
| 5569 | } |
| 5570 | |
| 5571 | void testNJO(U8 instruction) { |
| 5572 | testJ(instruction, OF, false); |
no test coverage detected