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

Function testJNS

source/test/testCPU.cpp:5788–5802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5786}
5787
5788void testJNS(U8 instruction) {
5789 testJ(instruction, SF, false);
5790 testJ(instruction, CF, true);
5791 testJ(instruction, OF, true);
5792 testJ(instruction, PF, true);
5793 testJ(instruction, AF, true);
5794 testJ(instruction, ZF, true);
5795
5796 // if not sign(SF = 0)
5797 testJumpCmp(instruction, 0, 0, true);
5798 testJumpCmp(instruction, 1, 0, true);
5799 testJumpCmp(instruction, 0, 1, false);
5800 testJumpCmp(instruction, 1, 0xffffffff, true);
5801 testJumpCmp(instruction, 0xffffffff, 1, false);
5802}
5803
5804void testJS0x78() {
5805 cpu->big = false;

Callers 2

testJNS0x79Function · 0.85
testJNS0x279Function · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected