Skip to content
Snippets Groups Projects
Commit c1973377 authored by jdh8d's avatar jdh8d
Browse files

fixed bytewidth=ArgSize for bit/byte number mismatch.

Former-commit-id: 6af9715580a4d2e0ba09f9fe915ad4cdb786ce2c
parent 9d78f0a3
No related branches found
No related tags found
No related merge requests found
...@@ -181,7 +181,7 @@ no operands for eflags or mxcsr? ...@@ -181,7 +181,7 @@ no operands for eflags or mxcsr?
operand.mem.hasSIB=1; operand.mem.hasSIB=1;
byteWidth=the_arg.ArgSize; byteWidth=the_arg.ArgSize/8;
OpType=op_Mem; OpType=op_Mem;
break; break;
} }
...@@ -189,13 +189,13 @@ no operands for eflags or mxcsr? ...@@ -189,13 +189,13 @@ no operands for eflags or mxcsr?
OpType=op_Imm; OpType=op_Imm;
operand.imm.imm=d.Instruction.Immediat; operand.imm.imm=d.Instruction.Immediat;
operand.imm.pc_rel=true; operand.imm.pc_rel=true;
byteWidth=the_arg.ArgSize; byteWidth=the_arg.ArgSize/8;
break; break;
case CONSTANT_TYPE + ABSOLUTE_ : case CONSTANT_TYPE + ABSOLUTE_ :
OpType=op_Imm; OpType=op_Imm;
operand.imm.imm=d.Instruction.Immediat; operand.imm.imm=d.Instruction.Immediat;
operand.imm.pc_rel=false; operand.imm.pc_rel=false;
byteWidth=the_arg.ArgSize; byteWidth=the_arg.ArgSize/8;
break; break;
default: default:
assert(0); assert(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment