MCPcopy Create free account
hub / github.com/WheretIB/nullc / GenCodeCmdModL

Function GenCodeCmdModL

NULLC/CodeGen_X86.cpp:2624–2633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2622}
2623
2624void GenCodeCmdModL(VMCmd cmd)
2625{
2626 (void)cmd;
2627 EMIT_COMMENT("MOD long");
2628 EMIT_OP_REG_NUM(o_mov, rECX, (int)(intptr_t)longMod);
2629 EMIT_OP_REG(o_call, rECX);
2630 EMIT_OP_REG_NUM(o_add, rESP, 8);
2631 EMIT_OP_RPTR_REG(o_mov, sDWORD, rESP, 4, rEDX);
2632 EMIT_OP_RPTR_REG(o_mov, sDWORD, rESP, 0, rEAX);
2633}
2634
2635void GenCodeCmdLessL(VMCmd cmd)
2636{

Callers

nothing calls this directly

Calls 4

EMIT_COMMENTFunction · 0.85
EMIT_OP_REG_NUMFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTR_REGFunction · 0.85

Tested by

no test coverage detected