flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > "|" instead of " or "? |
Author |
|
revolution 21 Aug 2009, 02:09
"|" is a logical operator.
"or" is a binary operator. It is explained in the fasm manual. |
|||
21 Aug 2009, 02:09 |
|
Azu 21 Aug 2009, 02:12
Doesn't a binary or work wherever a logical or does?
true logical or false = true true(1) binary or false(0) = true(1) How do I make the | work like binary or? It would save much space.. each time, " or " takes 4 characters, "|" would only take 1.. this makes a big difference in readability with long masks.. please help.. |
|||
21 Aug 2009, 02:12 |
|
cod3b453 22 Aug 2009, 12:33
If what you're ORing doesn't have overlapping bits, you could use +.
|
|||
22 Aug 2009, 12:33 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.