flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 24 Sep 2024, 06:32
I do this, but problem with number macro
Code: macro GetNum name,list,m { num equ 0 irpv v,list \{ irps c,v \\{ rept 1 n:num+1 \\\{ num equ n \\\} if c eq name display num+48 display ' find',13,10 m\\\#\num ;fasm error mA#3 end if \\} \} } |
|||
![]() |
|
Roman 24 Sep 2024, 06:38
I done !
Code: macro GetNum name,list,m { num equ 0 irpv v,list \{ irps c,v \\{ ;rept 1 n:num+1 \\\{ num equ n \\\} ;this work num equ num+1 ;this work too if c eq name rept 1 n:num \\\{ m\\\#n ;my question, how store in equ n value? ;if I do num2 equ n I get not correct number \\\} end if \\} \} } |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.