|
|
|
@ -230,9 +230,9 @@ typedef enum x86_prefix { |
|
|
|
|
// Instruction's operand referring to memory
|
|
|
|
|
// This is associated with X86_OP_MEM operand type above
|
|
|
|
|
typedef struct x86_op_mem { |
|
|
|
|
unsigned int segment; // segment register (or X86_REG_INVALID if irrelevant)
|
|
|
|
|
unsigned int base; // base register (or X86_REG_INVALID if irrelevant)
|
|
|
|
|
unsigned int index; // index register (or X86_REG_INVALID if irrelevant)
|
|
|
|
|
x86_reg segment; // segment register (or X86_REG_INVALID if irrelevant)
|
|
|
|
|
x86_reg base; // base register (or X86_REG_INVALID if irrelevant)
|
|
|
|
|
x86_reg index; // index register (or X86_REG_INVALID if irrelevant)
|
|
|
|
|
int scale; // scale for index register
|
|
|
|
|
int64_t disp; // displacement value
|
|
|
|
|
} x86_op_mem; |
|
|
|
|