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

Function testJB

source/test/testCPU.cpp:5608–5622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5606}
5607
5608void 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
5624void testNJB(U8 instruction) {
5625 testJ(instruction, CF, false);

Callers 2

testJB0x72Function · 0.85
testJB0x272Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected