flat assembler
Message board for the users of flat assembler.
Index
> Main > Including source files using macroinstructions |
Author |
|
revolution 15 Sep 2005, 09:17
You can use include anywhere in the sources that you need. If you put the include inside a macro (like above) then each time you instantiate the macro you also include the file. Try removing the include from the macro and put it at the end of main.asm.
|
|||
15 Sep 2005, 09:17 |
|
alxdef 15 Sep 2005, 09:38
Yes, but result of using of this macro:
; some code my_macro some_args ; some code is including 'some_src.inc' right this place where macro occured, but I need to insert 'some_src.inc' at the end of whole code or after predefined label. |
|||
15 Sep 2005, 09:38 |
|
revolution 16 Sep 2005, 00:54
Code: macro my_macro [args] { call my_func } ; some code my_macro some_args ; some code include 'some_src.inc' ; function 'my_func' implemented here |
|||
16 Sep 2005, 00:54 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.