aboutsummaryrefslogtreecommitdiff
path: root/indev/psn00bdbg-mk2/testutil/mips_disassembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'indev/psn00bdbg-mk2/testutil/mips_disassembler.h')
-rw-r--r--indev/psn00bdbg-mk2/testutil/mips_disassembler.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indev/psn00bdbg-mk2/testutil/mips_disassembler.h b/indev/psn00bdbg-mk2/testutil/mips_disassembler.h
new file mode 100644
index 0000000..41e604f
--- /dev/null
+++ b/indev/psn00bdbg-mk2/testutil/mips_disassembler.h
@@ -0,0 +1,10 @@
+#ifndef DISASSEMBLER_H
+#define DISASSEMBLER_H
+
+void mips_Decode(unsigned int opcode, unsigned int addr, char* output, int arrows);
+
+unsigned int mips_GetNextPc(unsigned int *regs, int stepover);
+unsigned int mips_GetJumpAddr(unsigned int addr, unsigned int opcode);
+
+#endif /* DISASSEMBLER_H */
+