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

Function loadConst32

source/emulation/cpu/armv7/armv7CPU.cpp:431–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431void loadConst32(U8 reg, U32 value) {
432 movw(reg, value);
433 if (value > 0xFFFF) {
434 movt(reg, value >> 16);
435 }
436}
437
438void loadConstPtr(U8 reg, DYN_PTR_SIZE value) {
439 loadConst32(reg, value);

Callers 13

loadConstPtrFunction · 0.70
readMem16Function · 0.70
saveRegToCpuOffset16Function · 0.70
saveValueToCpuOffset8Function · 0.70
saveValueToCpuOffset16Function · 0.70
saveValueToCpuOffset32Function · 0.70
addValue32Function · 0.70
subValue32Function · 0.70
orValue32Function · 0.70
xorValue32Function · 0.70
andValue32Function · 0.70
cmpRegValue32Function · 0.70

Calls 2

movwFunction · 0.85
movtFunction · 0.85

Tested by

no test coverage detected