flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 04 Nov 2004, 22:00
This is a problem that cannot be solved unless you know the tokens beforehand and test for each token (probably with a macro iterating through each token over an input parameter).
Basically the problem comes to this: the variable names (labels) cannot be made during assembly time. |
|||
![]() |
|
beppe85 05 Nov 2004, 00:09
Hi!
I wrote some macros after your problem, but without success. I'm not a 'macro master', so I hope to be wrong: FASM currently lacks some features, which precludes your project to be completed. Talking about macro recursion, non-fixed repeat's and string manipulation. But the problem here is that the % operator takes place before load operator(which seems to do a name = M[location]). |
|||
![]() |
|
metalfishx 05 Nov 2004, 02:23
hi guys.
Well, you both are right in something (is complicated to do this) ![]() But actually this code i made is workign; maybe i dont explain as well, what i need next is, when a new char is found, join this char to the others, and after joined, i need test if the actual joined chars are one keyword. I have tested with token#char, and things like this, but dont work, i have problems. beppe85, % and all in load are working as well; try to write the code as is it actuall to a new fasm document, and compile them, anb you will see the messages; all the correspondent chars are found and you see the message "Found Bla"... The thing i need to figure out is how to join the chars and test these joined chars looking for a keyword name.. and so on... ![]() im thinking about store; but i still dont figure out how to implement... ok, thanks four you responses! ill contiunue, theres will be a way; i think nothing is impossible in this world, haha ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.