flat assembler
Message board for the users of flat assembler.
Index
> Main > understand if macro |
Author |
|
sleepsleep 06 Feb 2008, 14:46
was trying to do the following
Code: if eax < 1000 invoke ExitProcess,0 end if received Code: if eax < 1000 error: invalid value. |
|||
06 Feb 2008, 14:46 |
|
revolution 06 Feb 2008, 15:03
i think you mean ".if"
Code: .if eax < 1000 invoke ExitProcess,0 .endif |
|||
06 Feb 2008, 15:03 |
|
sleepsleep 06 Feb 2008, 15:20
but if u guys check the manual, it uses "end if" with a space?
|
|||
06 Feb 2008, 15:20 |
|
MHajduk 06 Feb 2008, 15:22
"If" and "end if" are for conditional assembly (some sources are compiled or not regarding of some condition).
|
|||
06 Feb 2008, 15:22 |
|
LocoDelAssembly 06 Feb 2008, 15:37
You have to use it as http://flatassembler.net/docs.php?article=win32 , not as documented for the assembler that as MHajduk said it is for assemble-time purposes and not for run-time purposes.
|
|||
06 Feb 2008, 15:37 |
|
sleepsleep 06 Feb 2008, 16:22
thanks all
why we all seem to have fun manipulating all the bits ? |
|||
06 Feb 2008, 16:22 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.