flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > How to write rept with count const? |
Author |
|
KIRK 25 Sep 2011, 16:40
I want to write something like this:
Code: REPEAT_COUNT = 1000 rept REPEAT_COUNT { local label label: } |
|||
25 Sep 2011, 16:40 |
|
cod3b453 25 Sep 2011, 18:10
You can use the equ directive instead:
Code: REPEAT_COUNT equ 1000 rept REPEAT_COUNT { local label label: } |
|||
25 Sep 2011, 18:10 |
|
KIRK 25 Sep 2011, 18:35
cod3b453, thanks very much!
|
|||
25 Sep 2011, 18:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.