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

Function testJNBE

source/test/testCPU.cpp:5733–5750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5731}
5732
5733void testJNBE(U8 instruction) {
5734 testJ(instruction, ZF, false);
5735 testJ(instruction, CF, false);
5736 testJ(instruction, CF | ZF, false);
5737 testJ(instruction, CF | OF, false);
5738 testJ(instruction, ZF | OF, false);
5739 testJ(instruction, OF, true);
5740 testJ(instruction, PF, true);
5741 testJ(instruction, AF, true);
5742 testJ(instruction, SF, true);
5743
5744 // if not below or equal (CF=0 and ZF=0).
5745 testJumpCmp(instruction, 0, 0, false);
5746 testJumpCmp(instruction, 1, 0, true);
5747 testJumpCmp(instruction, 0xffffffff, 0, true);
5748 testJumpCmp(instruction, 0, 1, false);
5749 testJumpCmp(instruction, 0, 0xffffffff, false);
5750}
5751
5752void testJBE0x76() {
5753 cpu->big = false;

Callers 2

testJNBE0x77Function · 0.85
testJNBE0x277Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected