MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / testNJB

Function testNJB

source/test/testCPU.cpp:5624–5638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5622}
5623
5624void testNJB(U8 instruction) {
5625 testJ(instruction, CF, false);
5626 testJ(instruction, OF, true);
5627 testJ(instruction, PF, true);
5628 testJ(instruction, AF, true);
5629 testJ(instruction, ZF, true);
5630 testJ(instruction, SF, true);
5631
5632 // if not below (CF=0)
5633 testJumpCmp(instruction, 0, 0, true);
5634 testJumpCmp(instruction, 1, 0, true);
5635 testJumpCmp(instruction, 0xffffffff, 0, true);
5636 testJumpCmp(instruction, 0, 1, false);
5637 testJumpCmp(instruction, 0, 0xffffffff, false);
5638}
5639
5640void testJB0x72() {
5641 cpu->big = false;

Callers 2

testJNB0x73Function · 0.85
testJNB0x273Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected