| 5606 | } |
| 5607 | |
| 5608 | void testJB(U8 instruction) { |
| 5609 | testJ(instruction, CF, true); |
| 5610 | testJ(instruction, OF, false); |
| 5611 | testJ(instruction, PF, false); |
| 5612 | testJ(instruction, AF, false); |
| 5613 | testJ(instruction, ZF, false); |
| 5614 | testJ(instruction, SF, false); |
| 5615 | |
| 5616 | // if below (CF=1) |
| 5617 | testJumpCmp(instruction, 0, 0, false); |
| 5618 | testJumpCmp(instruction, 1, 0, false); |
| 5619 | testJumpCmp(instruction, 0xffffffff, 0, false); |
| 5620 | testJumpCmp(instruction, 0, 1, true); |
| 5621 | testJumpCmp(instruction, 0, 0xffffffff, true); |
| 5622 | } |
| 5623 | |
| 5624 | void testNJB(U8 instruction) { |
| 5625 | testJ(instruction, CF, false); |
no test coverage detected