flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
typedef
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
hyperzap: See the documentation about these extensions macros:
http://flatassembler.net/docs.php?article=win32#2.2 |
|||
![]() |
|
hyperzap
thanks. i didn't see that.
/solved. |
|||
![]() |
|
AsmGuru62
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
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.