flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [FASM1] generating parameters for `struc` within a macro |
Author |
|
nicebyte 03 Jun 2022, 07:28
I should have mentioned that simply doing
Code:
...
common
struc name params \{
...
doesn't work for what i'm trying to do. i need to do some additional stuff to each param within that `forward` block. |
|||
03 Jun 2022, 07:28 |
|
macomics 03 Jun 2022, 08:01
Code: macro define_a_struc name* { struc name \{ match title par,name \\{ irp arg, par \\\{ dd arg \\\} \\} \} } define_a_struc <test2 abc, def, ghi, jkl> label2 test2 123, 456, 789, 0 ; $ fasm -m 1024 testmacro.asm ; flat assembler version 1.73.30 (1024 kilobytes memory) ; 1 passes, 16 bytes. |
|||
03 Jun 2022, 08:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.