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

Function testNJO

source/test/testCPU.cpp:5571–5586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5569}
5570
5571void testNJO(U8 instruction) {
5572 testJ(instruction, OF, false);
5573 testJ(instruction, CF, true);
5574 testJ(instruction, PF, true);
5575 testJ(instruction, AF, true);
5576 testJ(instruction, ZF, true);
5577 testJ(instruction, SF, true);
5578
5579 testJumpCmp(instruction, 0, 0, true);
5580 testJumpCmp(instruction, 1, 0, true);
5581 if (cpu->big) {
5582 testJumpCmp(instruction, 0x80000000, 0x10000000, false);
5583 } else {
5584 testJumpCmp(instruction, 0x8000, 0x1000, false);
5585 }
5586}
5587
5588void testJO0x70() {
5589 cpu->big = false;

Callers 2

testJNO0x71Function · 0.85
testJNO0x271Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected