diff options
| author | lameguy64 <lameguy64@github.com> | 2024-05-04 18:55:05 +0800 |
|---|---|---|
| committer | lameguy64 <lameguy64@github.com> | 2024-05-04 18:55:05 +0800 |
| commit | 702bb601fb5712e2ae962a34b89204c646fe98f5 (patch) | |
| tree | 765f400d1535d37c5ff4df61d01229a7dc7d8207 /indev/psn00bdbg-mk2/testutil/mips_disassembler.h | |
| parent | 00abe5963fbead092f91935b90390aa5a9111c43 (diff) | |
| download | psn00bsdk-702bb601fb5712e2ae962a34b89204c646fe98f5.tar.gz | |
Included PSn00bDBG-mk2 monitor and test utility
Diffstat (limited to 'indev/psn00bdbg-mk2/testutil/mips_disassembler.h')
| -rw-r--r-- | indev/psn00bdbg-mk2/testutil/mips_disassembler.h | 10 |
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 */ + |
