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

Function testJNZ

source/test/testCPU.cpp:5677–5692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5675}
5676
5677void testJNZ(U8 instruction) {
5678 testJ(instruction, ZF, false);
5679 testJ(instruction, OF, true);
5680 testJ(instruction, PF, true);
5681 testJ(instruction, AF, true);
5682 testJ(instruction, CF, true);
5683 testJ(instruction, SF, true);
5684
5685 // if not zero (ZF=9)
5686 testJumpCmp(instruction, 0, 0, false);
5687 testJumpCmp(instruction, 1, 0, true);
5688 testJumpCmp(instruction, 0xffffffff, 0, true);
5689 testJumpCmp(instruction, 0, 1, true);
5690 testJumpCmp(instruction, 0, 0xffffffff, true);
5691 testJumpCmp(instruction, 0xffffffff, 0xffffffff, false);
5692}
5693
5694void testJZ0x74() {
5695 cpu->big = false;

Callers 2

testJNZ0x75Function · 0.85
testJNZ0x275Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected