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

Function Reg16Reg16

source/test/testCPU.cpp:2951–2962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2949}
2950
2951void Reg16Reg16(int instruction, struct Data* data, Reg* r1, Reg* r2) {
2952 while (data->valid) {
2953 newInstruction(instruction, data->flags);
2954 r1->u32 = DEFAULT;
2955 r1->u16 = data->var1;
2956 r2->u32 = DEFAULT;
2957 r2->u16 = data->var2;
2958 runTestCPU();
2959 assertResult(data, cpu, instruction, r1->u16, r2->u16, -1, -1, 0, 16);
2960 data++;
2961 }
2962}
2963
2964void Reg32Reg32(int instruction, struct Data* data, Reg* r1, Reg* r2) {
2965 while (data->valid) {

Callers 8

testXchgCxAx0x091Function · 0.85
testXchgDxAx0x092Function · 0.85
testXchgBxAx0x093Function · 0.85
testXchgSpAx0x094Function · 0.85
testXchgBpAx0x095Function · 0.85
testXchgSiAx0x096Function · 0.85
testXchgDiAx0x097Function · 0.85
testCwd0x099Function · 0.85

Calls 3

newInstructionFunction · 0.85
runTestCPUFunction · 0.85
assertResultFunction · 0.85

Tested by

no test coverage detected