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

Function cmpRegValue32

source/emulation/cpu/armv7/armv7CPU.cpp:804–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802}
803
804void cmpRegValue32(U8 reg, U32 value) {
805 if (value <= 255) {
806 outb(value);
807 outb(0);
808 outb(0x50 | reg);
809 outb(0xe3);
810 } else {
811 U8 tmpReg = getUnsavedTmpReg();
812 loadConst32(tmpReg, value);
813 cmpRegs32(reg, tmpReg);
814 clearRegUsed(tmpReg);
815 }
816}
817
818U32 jumpIfEqual() {
819 U32 pos = outBufferPos;

Callers

nothing calls this directly

Calls 5

outbFunction · 0.70
getUnsavedTmpRegFunction · 0.70
loadConst32Function · 0.70
cmpRegs32Function · 0.70
clearRegUsedFunction · 0.70

Tested by

no test coverage detected