flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 12 Oct 2015, 08:15
To do arithmetic with macro arguments you need to use rept:
Code: lab_1: mov eax, 1 lab_2: mov eax, 2 macro jmp a { jmp lab_#a } rept 10 c { rept 1 v:1 + c mod 2 \{jmp v\} } |
|||
![]() |
|
xubej 12 Oct 2015, 08:19
Thank you very much!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.