x86: also fix AT&T syntax for the last MOV32ms bug
diff --git a/arch/X86/X86ATTInstPrinter.c b/arch/X86/X86ATTInstPrinter.c
index fdc9e27..7292922 100644
--- a/arch/X86/X86ATTInstPrinter.c
+++ b/arch/X86/X86ATTInstPrinter.c
@@ -77,10 +77,17 @@
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);
}