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

Function logRE

source/emulation/cpu/decoder.cpp:1668–1686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1666}
1667
1668static void logRE(const LogInstruction* inst, DecodedOp* op, BString& out) {
1669 out.append(inst->name);
1670 out.append(" ");
1671 if (inst->width==32) {
1672 outR32(op->reg, out);
1673 out.append(",");
1674 outE32(op, out);
1675 } else if (inst->width==16) {
1676 outR16(op->reg, out);
1677 out.append(",");
1678 outE16(op, out);
1679 } else if (inst->width==8) {
1680 outR8(op->reg, out);
1681 out.append(",");
1682 outE8(op, out);
1683 } else {
1684 kpanic_fmt("unknown width: %d in logRE", inst->width);
1685 }
1686}
1687
1688static void logER(const LogInstruction* inst, DecodedOp* op, BString& out) {
1689 out.append(inst->name);

Callers

nothing calls this directly

Calls 8

outR32Function · 0.85
outE32Function · 0.85
outR16Function · 0.85
outE16Function · 0.85
outR8Function · 0.85
outE8Function · 0.85
kpanic_fmtFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected