flat assembler
Message board for the users of flat assembler.

Index > Main > we can't PUSH a byte?

Author
Thread Post new topic Reply to topic
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 11 Jul 2010, 02:15
Teehee,

If you, for any reason, need to push exactly a byte, lea esp, [esp-1] / mov byte[esp], something may be useful. Wink
Post 11 Jul 2010, 02:15
View user's profile Send private message Reply with quote
sinsi



Joined: 10 Aug 2007
Posts: 794
Location: Adelaide
sinsi 11 Jul 2010, 02:21
Don't push a word onto the stack in windows if you are going to call an API, the stack is supposed to be dword aligned
Post 11 Jul 2010, 02:21
View user's profile Send private message 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.