From mboxrd@z Thu Jan 1 00:00:00 1970 From: Etienne Lorrain To: binutils@sourceware.cygnus.com Subject: .code16gcc and "lea <32bit>(%eax),%edx" Date: Thu, 22 Jun 2000 01:44:00 -0000 Message-id: <20000622084433.14848.qmail@web1602.mail.yahoo.com> X-SW-Source: 2000-06/msg00457.html Hello, [root@localhost gujin]# as -V GNU assembler version 2.9.5 (i686-pc-linux-gnu) using BFD version 2.9.5.0.33 >>> (same result with 2.10) [root@localhost gujin]# cat | as -al - .code32 leal 4194428(%eax),%edi .code16gcc leal 4194428(%eax),%edi >>> gives >>> GAS LISTING page 1 1 .code32 2 0000 8DB87C00 leal 4194428(%eax),%edi 2 4000 3 .code16gcc 4 0006 67668D78 leal 4194428(%eax),%edi 4 7C [root@localhost gujin]# >>> I think the hexadecimal for the .code16gcc is too short, I would have waited simply (because of the two prefix): 67 66 / 8D B8 / 7C 00 40 00 ^^^^^^^^^^^^^^^^^^^ same as .code32 Have a nice day, Etienne. ___________________________________________________________ Do You Yahoo!? Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr