flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Borsuc 16 Feb 2007, 17:13
Hi
Macroprocessor doesn't apply operator priority, it just replaces the parameters with the given text ![]() |
|||
![]() |
|
vid 16 Feb 2007, 22:15
hidden: if you read manual carefully, you will see that macro does just textual substition. then, it is clear that:
Code: macro _db v { db v and 0FFh } _db 0FFFh + 0 ; Code: db 0FFFh + 0 and 0FFh and Code: macro _db v { db (v) and 0FFh } _db 0FFFh + 0 becomes Code: db (0FFFh+0) and 0FFh |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.