diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/immediate.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/arch/immediate.h b/src/arch/immediate.h index 6d1d62e..2393b49 100644 --- a/src/arch/immediate.h +++ b/src/arch/immediate.h @@ -40,10 +40,13 @@ /* Grande ligne d'un format d'affichage */ typedef enum _ImmOperandDisplay { - IOD_CHAR, - IOD_DEC, - IOD_HEX, - IOD_OCT + IOD_BIN, /* Impression en binaire */ + IOD_OCT, /* Impression en octal */ + IOD_DEC, /* Impression en décimal */ + IOD_HEX, /* Impression en hexadécimal */ + IOD_CHAR, /* Impression en base 26 */ + + IOD_COUNT } ImmOperandDisplay; @@ -97,7 +100,7 @@ void g_imm_operand_pad(GImmOperand *, bool); bool g_imm_operand_does_padding(const GImmOperand *); /* Définit la grande ligne du format textuel de la valeur. */ -void g_imm_operand_set_display(GImmOperand *operand, ImmOperandDisplay display); +void g_imm_operand_set_display(GImmOperand *, ImmOperandDisplay); /* Indique la grande ligne du format textuel de la valeur. */ ImmOperandDisplay g_imm_operand_get_display(const GImmOperand *); |