mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-10-30 07:11:38 +00:00
Add PPC instruction ids
This commit is contained in:
parent
42043a7aac
commit
893dcddbfc
5 changed files with 5770 additions and 3986 deletions
|
|
@ -24,4 +24,9 @@ namespace ppc
|
|||
{
|
||||
return gBigEndianDisassembler.Disassemble(code, size, base, out);
|
||||
}
|
||||
|
||||
static int Disassemble(const void* code, uint64_t base, ppc_insn& out)
|
||||
{
|
||||
return Disassemble(code, 4, base, out);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
thirdparty/disasm/CMakeLists.txt
vendored
2
thirdparty/disasm/CMakeLists.txt
vendored
|
|
@ -1,4 +1,4 @@
|
|||
project("disasm")
|
||||
|
||||
add_library(disasm "ppc-dis.c" "disasm.c")
|
||||
add_library(disasm "ppc-dis.c" "disasm.c" "ppc.h")
|
||||
target_include_directories(disasm PUBLIC .)
|
||||
|
|
|
|||
3
thirdparty/disasm/dis-asm.h
vendored
3
thirdparty/disasm/dis-asm.h
vendored
|
|
@ -410,6 +410,9 @@ typedef struct powerpc_opcode
|
|||
operand table. They appear in the order which the operands must
|
||||
appear in assembly code, and are terminated by a zero. */
|
||||
unsigned char operands[8];
|
||||
|
||||
/* The opcode ID. */
|
||||
int id;
|
||||
} powerpc_opcode;
|
||||
|
||||
typedef struct ppc_insn
|
||||
|
|
|
|||
7975
thirdparty/disasm/ppc-dis.c
vendored
7975
thirdparty/disasm/ppc-dis.c
vendored
File diff suppressed because it is too large
Load diff
1771
thirdparty/disasm/ppc.h
vendored
Normal file
1771
thirdparty/disasm/ppc.h
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue