flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > how can i determine if the macro is calling last ? |
Author |
|
dead_body 02 Nov 2006, 14:29
for example, i have macro.
i call it many times. how can i determine inside macro if it called last? who know russian can read here this question: http://www.wasm.ru/forum/viewtopic.php?pid=140513#p140513 |
|||
02 Nov 2006, 14:29 |
|
vid 02 Nov 2006, 14:47
if you mean, how to determine if macro is called LAST TIME, then that's the answer
|
|||
02 Nov 2006, 14:47 |
|
dead_body 02 Nov 2006, 14:55
after the last макроса it is impossible use the code.
|
|||
02 Nov 2006, 14:55 |
|
vid 02 Nov 2006, 15:22
you mean to determine if macro is last thing in source?
i think that it isn't possible. maybe you could use some nasty trick to disable using generating any code or data behind last macro usage |
|||
02 Nov 2006, 15:22 |
|
dead_body 02 Nov 2006, 16:38
Quote:
no. i need some code, like LocoDelAssembly write, but without m.lastCounter = m.counter string at end. all must be in macro. |
|||
02 Nov 2006, 16:38 |
|
vid 02 Nov 2006, 16:58
oh, you mean that it has to be known at preprocessing time.
unfortnutally it's AFAIK impossible, because preprocessor can't forward-reference. |
|||
02 Nov 2006, 16:58 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.