flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > bug or feature ????

Author
Thread Post new topic Reply to topic
Ivan2k2



Joined: 08 Sep 2004
Posts: 80
Location: Russia, Angarsk
Ivan2k2 08 Sep 2005, 12:47
This code generates an error:

Code:
lea eax, [eax + esp + 0x05A827999]
error: invalid address
    


.. but this code compiles without problems:
Code:
lea eax, [esp + eax + 0x05A827999]
    


Why ???[/code]
Post 08 Sep 2005, 12:47
View user's profile Send private message ICQ Number Reply with quote
Frank



Joined: 17 Jun 2003
Posts: 100
Frank 08 Sep 2005, 13:06
Look here.
Post 08 Sep 2005, 13:06
View user's profile Send private message Reply with quote
Ivan2k2



Joined: 08 Sep 2004
Posts: 80
Location: Russia, Angarsk
Ivan2k2 08 Sep 2005, 13:15
Frank wrote:
Look here.


Thanks 4 quick reply, Frank
Post 08 Sep 2005, 13:15
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.