summaryrefslogtreecommitdiff
path: root/src/arch/immediate.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-02-09 14:03:11 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-02-09 14:03:11 (GMT)
commit76f44a20a5b277d7cbc441c4e71943d4e5507a9d (patch)
treebeb0d9427677aba523c2ae17c6b33b0c32c280a9 /src/arch/immediate.h
parent5fb8fb821698f43e9e2306841ff1f5a77876aed8 (diff)
Set the initial display value and avoided to pad octal and decimal values.
Diffstat (limited to 'src/arch/immediate.h')
-rw-r--r--src/arch/immediate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/immediate.h b/src/arch/immediate.h
index 640ac50..e6da2f4 100644
--- a/src/arch/immediate.h
+++ b/src/arch/immediate.h
@@ -119,6 +119,9 @@ bool g_imm_operand_is_null(const GImmOperand *);
/* Construit la chaîne de caractères correspondant à l'opérande. */
size_t g_imm_operand_to_string(const GImmOperand *, AsmSyntax, char [IMM_MAX_SIZE]);
+/* Convertit une valeur immédiate en position de type phys_t. */
+bool g_imm_operand_to_phys_t(const GImmOperand *, phys_t *);
+
/* Convertit une valeur immédiate en adresse de type virt_t. */
bool g_imm_operand_to_virt_t(const GImmOperand *, virt_t *);