diff --git a/src/interfaces/irdb/STARS_IRDB_Op.cpp b/src/interfaces/irdb/STARS_IRDB_Op.cpp index cf15cb62b108f6e1d84a953a8e12b564a77d423c..d49c1bb4ed9d85f49d2fbafd76afc63eb96bf98b 100644 --- a/src/interfaces/irdb/STARS_IRDB_Op.cpp +++ b/src/interfaces/irdb/STARS_IRDB_Op.cpp @@ -181,7 +181,7 @@ no operands for eflags or mxcsr? operand.mem.hasSIB=1; - byteWidth=the_arg.ArgSize; + byteWidth=the_arg.ArgSize/8; OpType=op_Mem; break; } @@ -189,13 +189,13 @@ no operands for eflags or mxcsr? OpType=op_Imm; operand.imm.imm=d.Instruction.Immediat; operand.imm.pc_rel=true; - byteWidth=the_arg.ArgSize; + byteWidth=the_arg.ArgSize/8; break; case CONSTANT_TYPE + ABSOLUTE_ : OpType=op_Imm; operand.imm.imm=d.Instruction.Immediat; operand.imm.pc_rel=false; - byteWidth=the_arg.ArgSize; + byteWidth=the_arg.ArgSize/8; break; default: assert(0);