arm64: for operand type IMM, value should have the type int64_t, not int32_t. all bindings should be fixed

This commit is contained in:
Nguyen Anh Quynh 2014-11-17 11:27:15 +08:00
parent aa50c645a8
commit 56128da515
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ typedef struct cs_arm64_op {
arm64_op_type type; // operand type
union {
unsigned int reg; // register value for REG operand
int32_t imm; // immediate value, or index for C-IMM or IMM operand
int64_t imm; // immediate value, or index for C-IMM or IMM operand
double fp; // floating point value for FP operand
arm64_op_mem mem; // base/index/scale/disp value for MEM operand
arm64_pstate pstate; // PState field of MSR instruction.