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

Function GenCodeCmdMod

NULLC/CodeGen_X86.cpp:2392–2401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2390}
2391
2392void GenCodeCmdMod(VMCmd cmd)
2393{
2394 (void)cmd;
2395 EMIT_COMMENT("MOD int");
2396 EMIT_OP_REG(o_pop, rEBX);
2397 EMIT_OP_REG(o_pop, rEAX);
2398 EMIT_OP(o_cdq);
2399 EMIT_OP_REG(o_idiv, rEBX);
2400 EMIT_OP_REG(o_push, rEDX);
2401}
2402
2403void GenCodeCmdLess(VMCmd cmd)
2404{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OPFunction · 0.85

Tested by

no test coverage detected