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

Function GenCodeCmdAddL

NULLC/CodeGen_X86.cpp:2571–2579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2569
2570
2571void GenCodeCmdAddL(VMCmd cmd)
2572{
2573 (void)cmd;
2574 EMIT_COMMENT("ADD long");
2575 EMIT_OP_REG(o_pop, rEAX);
2576 EMIT_OP_REG(o_pop, rEDX);
2577 EMIT_OP_RPTR_REG(o_add, sDWORD, rESP, 0, rEAX);
2578 EMIT_OP_RPTR_REG(o_adc, sDWORD, rESP, 4, rEDX);
2579}
2580
2581void GenCodeCmdSubL(VMCmd cmd)
2582{

Callers

nothing calls this directly

Calls 3

EMIT_COMMENTFunction · 0.85
EMIT_OP_REGFunction · 0.85
EMIT_OP_RPTR_REGFunction · 0.85

Tested by

no test coverage detected