flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > 64bit - proc or invoke problem? |
Author |
|
Tomasz Grysztar 03 Jan 2012, 10:26
Use "frame" macro to get rid of them. See documentation of 64-bit procedure macroinstructions.
|
|||
03 Jan 2012, 10:26 |
|
madmatt 03 Jan 2012, 14:38
Tomasz Grysztar wrote: Use "frame" macro to get rid of them. See documentation of 64-bit procedure macroinstructions. Yeh, that worked, thanks. But, why isn't this feature automatic? _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
03 Jan 2012, 14:38 |
|
Tomasz Grysztar 03 Jan 2012, 15:13
Documentation wrote: They should be used to enclose a block, inside which the RSP register is not altered between the procedure calls (...) PS Also see the part about "static_rsp_prologue" family of macros, you may find them useful. |
|||
03 Jan 2012, 15:13 |
|
madmatt 03 Jan 2012, 21:10
Quote: PS Also see them part about "static_rsp_prologue" family of macros, you may find them useful. Yeh, putting these three lines (below) at the end of the proc64.inc file removes the added instructions and doesn't require the frame/endf macros. Thanks a lot, I feel better about the code output now. Code: prologue@proc equ static_rsp_prologue epilogue@proc equ static_rsp_epilogue close@proc equ static_rsp_close |
|||
03 Jan 2012, 21:10 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.