MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / PPCDisasmSimple

Function PPCDisasmSimple

src/ppc/ppcd.cpp:1782–1793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1780}
1781
1782char *PPCDisasmSimple(u64 pc, u32 instr)
1783{
1784 PPCD_CB dis_out;
1785 static char output[256];
1786
1787 dis_out.pc = pc;
1788 dis_out.instr = instr;
1789
1790 PPCDisasm(&dis_out);
1791 snprintf(output, sizeof output, "%08llX %08X %-10s %s", pc, instr, dis_out.mnemonic, dis_out.operands);
1792 return output;
1793}

Callers

nothing calls this directly

Calls 2

PPCDisasmFunction · 0.85
snprintfFunction · 0.85

Tested by

no test coverage detected