flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > (solved) Toggling TCHAR - How both struc and macro? [fasmg] |
Author |
|
Tomasz Grysztar 17 Nov 2019, 21:01
For a general answer to your main question see section about symbol classes in the manual.
If the first identifier in the line is a known macro, the second one is not considered. Therefore labeled macro (the one defined with STRUC) is only recognized when it follows a name that is not a known instruction/macro. As for restoring the macros to their previous state, you should simply use PURGE and RESTRUC (for MACRO and STRUC respectively): Code: macro stdcallw? allargs& struc? TCHAR args:?& . du args end struc macro TCHAR args:?& du args end macro stdcall allargs restruc TCHAR purge TCHAR end macro |
|||
17 Nov 2019, 21:01 |
|
Beege 17 Nov 2019, 22:20
Your awesome Tomasz - Thanks for the help!
|
|||
17 Nov 2019, 22:20 |
|
Tomasz Grysztar 18 Nov 2019, 17:52
Thank you!
|
|||
18 Nov 2019, 17:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.