flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > How to detect last repetition in forward? |
Author |
|
Tomasz Grysztar 11 Apr 2006, 11:24
This one should work in your case:
Code: macro PROSECT [_label,_name] { ;-- ---------------------------- forward @@: dd 0 dd @f ; "next" pointer #_label db _name,0 common @@ = 0 } |
|||
11 Apr 2006, 11:24 |
|
shoorick 11 Apr 2006, 11:49
thanks! i'll try!
|
|||
11 Apr 2006, 11:49 |
|
comrade 15 Apr 2006, 07:30
Won't that redefine @@ where the macro is used?
I mean: Code: dd @F PROSECT abc,abc,def,def @@: db moredata |
|||
15 Apr 2006, 07:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.