flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Asmprogz 26 Aug 2010, 14:41
i add this code
match =COND v1 contain v2, COND c \\\{ test v1,v2 jz label define COND \\\} in the IF macro after match =COND v, COND c \\\{ if v eqtype 0 if ~ v jmp label end if else if v eqtype eax test v,v jz label else cmp v,0 je label end if \\\} but i get errors |
|||
![]() |
|
Tomasz Grysztar 26 Aug 2010, 16:03
First, to match a token that is not a special character you need to prepend it with "=". So it should be "v1 =contain v2".
Second, put this block BEFORE the "match =COND v, COND c", as it is the final block that catches everything that has not been matched earlier. |
|||
![]() |
|
Asmprogz 28 Aug 2010, 17:06
Tomasz thank you so much for your help works now without problems.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.