flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > using brackets and parenthesis... |
Author |
|
revolution 11 Apr 2009, 13:19
while is an assembler-stage block directive. So you do this:
Code: while x<y
...
end while |
|||
11 Apr 2009, 13:19 |
|
flash 11 Apr 2009, 18:43
Sory, i was not clear enough.
I am asking for how to write some macros(like .if, .code, struc and so) in order to let coding like C++ or Java. Just like my example, using brackets and parenthesis Thank's _________________ i don't hate goto |
|||
11 Apr 2009, 18:43 |
|
revolution 11 Apr 2009, 23:33
So you want to write Java and C++ and then use an assembler to compile it?
|
|||
11 Apr 2009, 23:33 |
|
buzzkill 12 Apr 2009, 00:30
I think he wants to write macros that will allow him to put "blocks" of assembly code between braces, ie make his assembly look like C++. So instead of:
Code: .if <code> he wants: Code: if { <code> } Unless I've misunderstood of course |
|||
12 Apr 2009, 00:30 |
|
revolution 12 Apr 2009, 00:40
From my testing it seems you can't match the following six symbols with any of the macro directives:
Code: {}#`'" |
|||
12 Apr 2009, 00:40 |
|
flash 12 Apr 2009, 15:18
Hi, seems to be difficult. Exactly as revolution say: i want to write a code form like java or c++ but to be compiled with fasm
I never use fasm preprocesor or directives for more than a normal program, but I undesrtand than it is very flexible by means of macro definition. Well, thanks again, very much, definitively I must do something with fasm source code jejeje. _________________ i don't hate goto |
|||
12 Apr 2009, 15:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.