flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 06 Oct 2019, 07:22
It is just part of the Windows fastcall specification, and it is normal.
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. Any crashes you see will probably be your code doing something bad like not aligning the stack to a multiple of 16. You might have a rogue push or pop that is misaligning the stack. If you showed all of the code for that function we might be able to help you. |
|||
![]() |
|
Tomasz Grysztar 06 Oct 2019, 12:24
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 07 Oct 2019, 04:09
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.