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

Function testJO

source/test/testCPU.cpp:5553–5569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5551}
5552
5553void 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
5571void testNJO(U8 instruction) {
5572 testJ(instruction, OF, false);

Callers 2

testJO0x70Function · 0.85
testJO0x270Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected