diff options
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r-- | src/arch/processor-int.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h index 602bab6..a4f983c 100644 --- a/src/arch/processor-int.h +++ b/src/arch/processor-int.h @@ -28,17 +28,16 @@ #include <sys/types.h> +#include "operand.h" /* TODO: AsmSyntax ? */ #include "instruction.h" #include "processor.h" -typedef int AsmSyntax; - /* Décode une instruction dans un flux de données. */ -typedef asm_instr * (* fetch_instruction) (const asm_processor *, const char *, off_t *, off_t); +typedef asm_instr * (* fetch_instruction) (const asm_processor *, const uint8_t *, off_t *, off_t); /* Traduit une instruction en version humainement lisible. */ typedef void (* print_instruction) (const asm_processor *, const asm_instr *, char *, size_t, AsmSyntax); |