x86: also fix AT&T syntax for the last MOV32ms bug

This commit is contained in:
Nguyen Anh Quynh 2014-12-04 23:19:04 +07:00
parent 344d5e250a
commit 5b981a4399

View File

@ -77,10 +77,17 @@ static void printi16mem(MCInst *MI, unsigned OpNo, SStream *O)
static void printi32mem(MCInst *MI, unsigned OpNo, SStream *O)
{
if (MI->Opcode == X86_BOUNDS32rm)
MI->x86opsize = 8;
else
MI->x86opsize = 4;
switch(MI->Opcode) {
default:
MI->x86opsize = 4;
break;
case X86_BOUNDS32rm:
MI->x86opsize = 8;
break;
case X86_MOV32ms:
MI->x86opsize = 2;
break;
}
printMemReference(MI, OpNo, O);
}