Add PPC instruction ids
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -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 .)
|
||||
|
||||
Vendored
+3
@@ -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
|
||||
|
||||
Vendored
+3990
-3985
File diff suppressed because it is too large
Load Diff
Vendored
+1771
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user