From 702bb601fb5712e2ae962a34b89204c646fe98f5 Mon Sep 17 00:00:00 2001 From: lameguy64 Date: Sat, 4 May 2024 18:55:05 +0800 Subject: Included PSn00bDBG-mk2 monitor and test utility --- indev/psn00bdbg-mk2/testutil/mips_disassembler.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 indev/psn00bdbg-mk2/testutil/mips_disassembler.h (limited to 'indev/psn00bdbg-mk2/testutil/mips_disassembler.h') 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 */ + -- cgit v1.2.3