flat assembler
Message board for the users of flat assembler.
Index
> Main > push byte |
Author |
|
edemko 09 Oct 2010, 09:17
|
|||
09 Oct 2010, 09:17 |
|
VelcroMan 09 Oct 2010, 09:30
edemko wrote: http://board.flatassembler.net/topic.php?t=11696&start=9 So this would "push" exactly a byte? Code: lea esp, [esp-1] mov byte[esp], byte_value |
|||
09 Oct 2010, 09:30 |
|
ManOfSteel 09 Oct 2010, 09:34
Why would you want to do this in a 32-bit based architecture?
Clear the dword register or memory location and move your byte into it (or simply movzx), then push the dword into the stack. |
|||
09 Oct 2010, 09:34 |
|
DOS386 14 Oct 2010, 03:23
FAQ: http://board.flatassembler.net/topic.php?t=6597
PS: today I moved 1'000'000'000 threads from Main into other subforums |
|||
14 Oct 2010, 03:23 |
|
edemko 14 Oct 2010, 03:55
DOS386 wrote:
|
|||
14 Oct 2010, 03:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.