flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
typedef 15 May 2012, 05:24
Yes it's valid. It's more of a high-level syntax. But FASM will generate an appropriate J/MP/NE/S etc opcode.
|
|||
![]() |
|
revolution 15 May 2012, 05:32
hyperzap: See the documentation about these extensions macros:
http://flatassembler.net/docs.php?article=win32#2.2 |
|||
![]() |
|
hyperzap 15 May 2012, 05:40
thanks. i didn't see that.
/solved. |
|||
![]() |
|
AsmGuru62 15 May 2012, 12:51
It is better to avoid a jump in this case:
Code: xor ecx, ecx cmp eax, 2 sete cl add eax, ecx That is if you do not need ECX. ![]() Yeah... I am not in love with these IF (spaggheti-making) macros. |
|||
![]() |
|
JohnFound 15 May 2012, 13:26
Quote: Yeah... I am not in love with these IF (spaggheti-making) macros. Me too. IMHO, these HLL style macros make asm programming unclear and not readable. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.