flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > <> embracing in macroses |
Author |
|
VitalOne 05 Aug 2004, 03:15
mike.dld wrote: Here is an example: In fasm, the a4 argument with <> would be read as mov eax,4 , without the < and > , so the if statement would be read as if mov eax,4 eqtype <> . |
|||
05 Aug 2004, 03:15 |
|
S.T.A.S. 06 Aug 2004, 12:01
This should work for <mov eax,4>, <sub edx,5>, <6,7>, etc,
but not for <mov eax 4> : Code: macro multiple_argument? arg,[args] { if args eq multiple_argument? = FALSE else multiple_argument? = TRUE end if } macro some_macro a1,a2,a3,a4 { multiple_argument? a4 if multiple_argument? ... else ... end if } |
|||
06 Aug 2004, 12:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.