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

Function logRR16

source/emulation/cpu/decoder.cpp:1768–1786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1766}
1767
1768static void logRR16(const LogInstruction* inst, DecodedOp* op, BString& out) {
1769 out.append(inst->name);
1770 out.append(" ");
1771 if (inst->width==32) {
1772 outR32(op->reg, out);
1773 out.append(",");
1774 outR16(op->rm, out);
1775 } else if (inst->width==16) {
1776 outR16(op->reg, out);
1777 out.append(",");
1778 outR16(op->rm, out);
1779 } else if (inst->width==8) {
1780 outR8(op->reg, out);
1781 out.append(",");
1782 outR16(op->rm, out);
1783 } else {
1784 kpanic_fmt("unknown width: %d in logRR16", inst->width);
1785 }
1786}
1787
1788static void logR(const LogInstruction* inst, DecodedOp* op, BString& out) {
1789 out.append(inst->name);

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected