flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [solved] Macro for store text list. How do ? |
Author |
|
revolution 24 Feb 2019, 09:02
One way is this:
Code: macro TextList name,[text] { common local ..skip jmp ..skip name: forward local ..name dd ..name common dd 0 forward ..name: db text,0 common ..skip: } TextList ListTxt,"mov eax,ebx","mov ebx,eax","movss xmm1," TextList ListTxt2,"t1","t2","t3","p1","p2","p3","p4","z1","z2","z3" mov esi,ListTxt mov esi,ListTxt2 |
|||
24 Feb 2019, 09:02 |
|
Roman 24 Feb 2019, 09:22
revolution
Delightfully ! Thanks ! |
|||
24 Feb 2019, 09:22 |
|
Tomasz Grysztar 24 Feb 2019, 09:27
There is even a very similar example in the manual, look for "macro strtbl".
|
|||
24 Feb 2019, 09:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.