diff options
Diffstat (limited to 'src/arch/operand.h')
-rw-r--r-- | src/arch/operand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/operand.h b/src/arch/operand.h index 1067518..e913059 100644 --- a/src/arch/operand.h +++ b/src/arch/operand.h @@ -62,9 +62,15 @@ bool fill_db_operand(asm_operand *, uint8_t); /* Traduit une opérande de type 'db' en texte. */ void print_db_operand(const asm_operand *, char *, size_t, AsmSyntax); +/* Lit une valeur (signée ou non) sur x bits. */ +bool read_imm_value(AsmOperandSize, const uint8_t *, off_t *, off_t, ...); + /* Crée une opérande contenant une valeur sur x bits. */ bool fill_imm_operand(asm_operand *, AsmOperandSize, const uint8_t *, off_t *, off_t); +/* Crée une opérande contenant une valeur sur x bits. */ +bool fill_imm_operand_with_value(asm_operand *, AsmOperandSize, ...); + /* Crée une opérande contenant une valeur relative sur x bits. */ bool fill_relimm_operand(asm_operand *, AsmOperandSize, const uint8_t *, off_t *, off_t, uint64_t); |