flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
if is an assembler directive. And inx is a fixed address that is never 10. So the result from if inx <> 10 is always true, thus the line jmp LC0 is always assembled and executed.
Perhaps you want to use cmp Code: cmp [inx],10 jb LC0 call [ExitProcess] LC0: |
|||
![]() |
|
fasmnewbie
call [printf]
add esp,4 ;CDECL stack unwinding |
|||
![]() |
|
Mino
That's perfect, thank you very much for your help
![]() _________________ The best way to predict the future is to invent it. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.