Changed type for segment,base,index in struct x86_op_mem

test2
remittor 10 years ago
parent 68e948b2c1
commit 3a75479a65
  1. 6
      include/capstone/x86.h

@ -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;

Loading…
Cancel
Save