diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-12-15 22:08:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-12-15 22:08:44 (GMT) |
commit | 4d313d845a60e908b9e2723cc1fe2bdbbdded315 (patch) | |
tree | 96b3c599e250b987e284e4bfcf33a7ae201cf637 /src/arch/instruction.h | |
parent | a847082da67c5af831d1f4b66a628de2e9d61395 (diff) |
Stored and provided the encoding used by an instruction.
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r-- | src/arch/instruction.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index baeee2e..0db68c7 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -59,6 +59,12 @@ typedef struct _GArchInstructionClass GArchInstructionClass; /* Indique le type défini pour une instruction d'architecture. */ GType g_arch_instruction_get_type(void); +/* Indique l'encodage d'une instruction de façon détaillée. */ +const char *g_arch_instruction_get_encoding(const GArchInstruction *); + +/* Précise l'encodage d'une instruction de façon détaillée. */ +void g_arch_instruction_set_encoding(GArchInstruction *, const char *); + /* Etend la désignation d'un nom d'instruction. */ void g_arch_instruction_append_suffix(GArchInstruction *, const char *); |