flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [solved] no bug in fasmg|syntax updated |
Author |
|
Tomasz Grysztar 25 Dec 2017, 10:39
The FORMAT is now a built-in instruction in fasmg (to allow fasm-compatible FORMAT BINARY AS 'EXT' setting), so if you re-define it as a macro, it cannot be forward referenced. When you use FORMAT before the macro gets defined, the built-in instruction is used instead.
However, the built-in FORMAT has been made to work like the END directive, so you can define sub-macros in its namespace. So a macro named FORMAT?.PE can be forward-referenced, as the built-in FORMAT directive looks for the instructions/macros in the FORMAT? namespace and calls them. You can see this new method used in the updated headers for Win32/Win64. |
|||
25 Dec 2017, 10:39 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.