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

Function logRR8

source/emulation/cpu/decoder.cpp:1728–1746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1726}
1727
1728static void logRR8(const LogInstruction* inst, DecodedOp* op, BString& out) {
1729 out.append(inst->name);
1730 out.append(" ");
1731 if (inst->width==32) {
1732 outR32(op->reg, out);
1733 out.append(",");
1734 outR8(op->rm, out);
1735 } else if (inst->width==16) {
1736 outR16(op->reg, out);
1737 out.append(",");
1738 outR8(op->rm, out);
1739 } else if (inst->width==8) {
1740 outR8(op->reg, out);
1741 out.append(",");
1742 outR8(op->rm, out);
1743 } else {
1744 kpanic_fmt("unknown width: %d in logRR8", inst->width);
1745 }
1746}
1747
1748static void logRE16(const LogInstruction* inst, DecodedOp* op, BString& out) {
1749 out.append(inst->name);

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected