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

Function doTestBswap

source/test/testCPU.cpp:9422–9427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9420}
9421
9422void doTestBswap(U8 reg) {
9423 newInstruction(0x3c8 + reg, 0);
9424 cpu->reg[reg].u32 = 0x12345678;
9425 runTestCPU();
9426 assertTrue(cpu->reg[reg].u32 == 0x78563412);
9427}
9428
9429void testBswap3c8() {
9430 cpu->big = 1;

Callers 8

testBswap3c8Function · 0.85
testBswap3c9Function · 0.85
testBswap3caFunction · 0.85
testBswap3cbFunction · 0.85
testBswap3ccFunction · 0.85
testBswap3cdFunction · 0.85
testBswap3ceFunction · 0.85
testBswap3cfFunction · 0.85

Calls 3

newInstructionFunction · 0.85
runTestCPUFunction · 0.85
assertTrueFunction · 0.85

Tested by

no test coverage detected