flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > fasm if cycle syntax |
Author |
|
Tomasz Grysztar 22 Aug 2019, 21:27
This is in fact one of the reasons why in fasmg EQ operator no longer does compare token sequences (it has to be done with MATCH instead) but only values of valid sub-expressions. The way EQ works in fasm 1 is a bit problematic on boundaries. In your first two samples "~" character is a negation of logical condition "1 eq 0" or "1 eq", while in the third sample "~" is just a part of the compared token sequences - it compares "0" with "~1".
As for the second question, yes - you can create complex conditions with help of logical operators. |
|||
22 Aug 2019, 21:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.