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

Function logER

source/emulation/cpu/decoder.cpp:1688–1706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1686}
1687
1688static void logER(const LogInstruction* inst, DecodedOp* op, BString& out) {
1689 out.append(inst->name);
1690 out.append(" ");
1691 if (inst->width==32) {
1692 outE32(op, out);
1693 out.append(",");
1694 outR32(op->reg, out);
1695 } else if (inst->width==16) {
1696 outE16(op, out);
1697 out.append(",");
1698 outR16(op->reg, out);
1699 } else if (inst->width==8) {
1700 outE8(op, out);
1701 out.append(",");
1702 outR8(op->reg, out);
1703 } else {
1704 kpanic_fmt("unknown width: %d in logER", inst->width);
1705 }
1706}
1707
1708static void logRE8(const LogInstruction* inst, DecodedOp* op, BString& out) {
1709 out.append(inst->name);

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected