* i386-dis.c (OP_E): Print scale factor on intel mode sib when not

1.  Don't print scale factor on AT&T mode when index missing.
This commit is contained in:
Alan Modra 2004-01-18 23:12:47 +00:00
parent 5421d6bee1
commit a02a862a31
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2004-01-19 Alan Modra <amodra@bigpond.net.au>
* i386-dis.c (OP_E): Print scale factor on intel mode sib when not
1. Don't print scale factor on AT&T mode when index missing.
2004-01-16 Alexandre Oliva <aoliva@redhat.com>
* m10300-opc.c (mov): 8- and 24-bit immediates are zero-extended

View File

@ -3173,11 +3173,7 @@ OP_E (int bytemode, int sizeflag)
? names64[index] : names32[index]);
oappend (scratchbuf);
}
if (!intel_syntax
|| (intel_syntax
&& bytemode != b_mode
&& bytemode != w_mode
&& bytemode != v_mode))
if (scale != 0 || (!intel_syntax && index != 4))
{
*obufp++ = scale_char;
*obufp = '\0';