mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-14 00:49:53 +00:00
x86: also fix AT&T syntax for the last MOV32ms bug
This commit is contained in:
parent
344d5e250a
commit
5b981a4399
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user