objdump
Frank Klemm
pfk@fuchs.offl.uni-jena.de
Sun Sep 2 08:45:00 GMT 2001
Objdump disassembles wrongly:
42: 0f af c2 imul %edx,%eax
90: f7 ea imul %edx,%eax
The first instruction is: (eax * edx):31:0 => eax (32*32 => 32)
The second instruction is: eax * edx => tmp (32*32 => 64)
tmp:31:0 => eax
tmp:63:32 => edx
Version of objdump is:
$ objdump --version
GNU objdump 2.9.5
Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
The commonly used syntax for the second is:
imul %edx
--
Frank
More information about the Gcc
mailing list