flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar
Look at the import macros for some ideas how to do such things.
|
|||
![]() |
|
vid
this may be what you wanted:
Code: macro files name,[filename,checksum] { common name: ;table of strucs containing pointer to filename and checksum forward local ..thisfile ;makes ..thisfile unique pointer for each repeating of "forward" block dd ..thisfile ;pointer to filename dd checksum ;checksum ;table of strings forward ..thisfile db filename,0 ;same ..thisfile names are used as was in previous forward } To start with macros my preprocessor article http://decard.net/?body=tajga&chapter=preproc may help, altough it is obsolete in some parts, but you will get the basics. |
|||
![]() |
|
Vasilev Vjacheslav
thanks for help
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.