flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Cannot local,inside macro nested in macro definition |
Author |
|
revolution 03 Sep 2008, 11:19
I think you need to escape local inside the macro with a backslash.
Try this: Code: macro outer { local id@outer macro inner userlabel \{ \local retval ;<-- it is now escaped display \`retval ;it display always the same name display 13,10 ;i.e. retval?Pk ; ;----decommenting the following line.... ; ;retval: ; ;----causes "symbol already defined" error retval equ $ ;<- but this line would act as it was "define retval $" nop nop jmp retval userlabel equ retval \} } |
|||
03 Sep 2008, 11:19 |
|
hopcode 03 Sep 2008, 12:30
Yes!!!!!!
It works !!! How can i be so sleepy ? Should i not reinvent the Art of Modern Spleeping ? ..AMS Art of Modern Sleeping... ..AMSOS Art of Modern Sleeping Operating System ... i owe you thousand thanx,revolution, for the quick and precise answer... hopcode[mrk] |
|||
03 Sep 2008, 12:30 |
|
revolution 03 Sep 2008, 13:20
I'll send you the bill in the mail
|
|||
03 Sep 2008, 13:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.