flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman
Ida Pro 64 bit show:
Sub rsp, 20h Call GetProcessHeap Add rsp, 20h Why? C++ exe not do sub rsp, 20h! And fasm some win api functions crash for this reason when call |
|||
![]() |
|
Tomasz Grysztar
revolution wrote: Some compilers will pre-allocate the stack for all calls within a function so you might only see the stack adjustment once at the beginning. Otherwise it is present for each call. Additionally, please check out "static_rsp_*" procedure customization macros. |
|||
![]() |
|
Roman
Thanks all!
I write Win 7 Directx12 example on Fasm 64 bit. Crash one directx funcion. Fasm work fine! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.