flat assembler
Message board for the users of flat assembler.

Index > Main > push bug?

Author
Thread Post new topic Reply to topic
arafel



Joined: 29 Aug 2006
Posts: 131
Location: Jerusalem, Israel
arafel 09 Oct 2006, 13:13
there is something wrong with parsing of push-es... all of the following is handled without any errors.

push 435 eax
push eax 541
push 32 eax 455 edx
etc ...
Post 09 Oct 2006, 13:13
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8351
Location: Kraków, Poland
Tomasz Grysztar 09 Oct 2006, 13:21
It's a syntax legacy from TASM. "push 435 eax" does just a two pushes in a row.
Post 09 Oct 2006, 13:21
View user's profile Send private message Visit poster's website Reply with quote
arafel



Joined: 29 Aug 2006
Posts: 131
Location: Jerusalem, Israel
arafel 09 Oct 2006, 13:42
ah. ok. didn't knew that...
Post 09 Oct 2006, 13:42
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 09 Oct 2006, 14:27
yup:
Code:
push 1 +3
push +3 1    


Razz Wink
Post 09 Oct 2006, 14:27
View user's profile Send private message Visit poster's website AIM Address MSN Messenger 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.