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

Function logR

source/emulation/cpu/decoder.cpp:1788–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1786}
1787
1788static void logR(const LogInstruction* inst, DecodedOp* op, BString& out) {
1789 out.append(inst->name);
1790 out.append(" ");
1791 if (inst->width==32) {
1792 outR32(op->reg, out);
1793 } else if (inst->width==16) {
1794 outR16(op->reg, out);
1795 } else if (inst->width==8) {
1796 outR8(op->reg, out);
1797 } else {
1798 kpanic_fmt("unknown width: %d in logR", inst->width);
1799 }
1800}
1801
1802static void logE(const LogInstruction* inst, DecodedOp* op, BString& out) {
1803 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