This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
.code16gcc and "lea <32bit>(%eax),%edx"
- To: binutils at sourceware dot cygnus dot com
- Subject: .code16gcc and "lea <32bit>(%eax),%edx"
- From: Etienne Lorrain <etienne_lorrain at yahoo dot fr>
- Date: Thu, 22 Jun 2000 10:44:33 +0200 (CEST)
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