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

Function logRE8

source/emulation/cpu/decoder.cpp:1708–1726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1706}
1707
1708static void logRE8(const LogInstruction* inst, DecodedOp* op, BString& out) {
1709 out.append(inst->name);
1710 out.append(" ");
1711 if (inst->width==32) {
1712 outR32(op->reg, out);
1713 out.append(",");
1714 outE8(op, out);
1715 } else if (inst->width==16) {
1716 outR16(op->reg, out);
1717 out.append(",");
1718 outE8(op, out);
1719 } else if (inst->width==8) {
1720 outR8(op->reg, out);
1721 out.append(",");
1722 outE8(op, out);
1723 } else {
1724 kpanic_fmt("unknown width: %d in logRE8", inst->width);
1725 }
1726}
1727
1728static void logRR8(const LogInstruction* inst, DecodedOp* op, BString& out) {
1729 out.append(inst->name);

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected