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

Function testJL

source/test/testCPU.cpp:5863–5889  ·  view source on GitHub ↗

SF != OF

Source from the content-addressed store, hash-verified

5861
5862// SF != OF
5863void testJL(U8 instruction) {
5864 testJ(instruction, SF, true);
5865 testJ(instruction, OF, true);
5866
5867 testJ(instruction, SF | OF, false);
5868 testJ(instruction, CF, false);
5869 testJ(instruction, PF, false);
5870 testJ(instruction, AF, false);
5871 testJ(instruction, ZF, false);
5872
5873 testJ(instruction, SF | PF, true);
5874 testJ(instruction, SF | CF, true);
5875 testJ(instruction, SF | AF, true);
5876 testJ(instruction, SF | ZF, true);
5877
5878 testJ(instruction, OF | PF, true);
5879 testJ(instruction, OF | CF, true);
5880 testJ(instruction, OF | AF, true);
5881 testJ(instruction, OF | ZF, true);
5882
5883 // signed: if less (SF<>OF)
5884 testJumpCmp(instruction, 0, 0, false);
5885 testJumpCmp(instruction, 1, 0, false);
5886 testJumpCmp(instruction, 0, 1, true);
5887 testJumpCmp(instruction, 1, 0xffffffff, false);
5888 testJumpCmp(instruction, 0xffffffff, 1, true);
5889}
5890
5891// SF == OF
5892void testJNL(U8 instruction) {

Callers 2

testJL0x7cFunction · 0.85
testJL0x27cFunction · 0.85

Calls 2

testJFunction · 0.85
testJumpCmpFunction · 0.85

Tested by

no test coverage detected