flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > How get number from equ value? |
Author |
|
macomics 25 Mar 2023, 10:35
Code: V1 equ eax V2 equ ecx V3 equ edx V4 equ ebx V5 equ esp V6 equ ebp V7 equ esi V8 equ edi rept 2 n:2 { mov V#n, n } |
|||
25 Mar 2023, 10:35 |
|
Roman 25 Mar 2023, 10:41
This is I know.
But I want write macro run. Code: Run V2, 3 ;do rept 3 from V2 to V5 I know variant. Its work, but I not like this variant. Run V, 2,3 ;do rept 3 n:2 {V#n} ;sometimes I forgot what mean 2 and 3 |
|||
25 Mar 2023, 10:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.