flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
asmrox
sub esp,32
mov ebp,esp mov dword [ebp],5 lea ecx,[ebp+4] push 1 push 123 push ecx call [something] ... is there a better way to push address of buffer?[/b] |
|||
![]() |
|
Frank
Isn't that unnecessarily complicated? The following should do the same:
Code: sub esp, 28 mov ecx, esp push 5 push 1 push 123 push ecx call [something] ... |
|||
![]() |
|
revolution
Frank wrote: Isn't that unnecessarily complicated? The following should do the same: |
|||
![]() |
|
bitRAKE
Just for fun:
Code: pushad mov ebp,esp pop ecx mov ecx,esp push 5 push 1 push 123 push ecx call [something] (this is post 666 for me, btw ) ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.