flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > achieving name#%

Author
Thread Post new topic Reply to topic
ordinate



Joined: 18 Dec 2007
Posts: 2
ordinate 18 Dec 2007, 18:07
How can I create a new variable name at the macro level using another variable's value? Please excuse the poor terminology.

What I want:

Code:
repeat 2
val#% = %
end repeat

;val1 = 1, val2 = 2
    


Also is there a stack accessible by macros?

Please help!
Post 18 Dec 2007, 18:07
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 18 Dec 2007, 18:19
Not sure exactly what you want but check http://board.flatassembler.net/topic.php?t=7935

[edit] Another related topic http://board.flatassembler.net/topic.php?t=7582 [/edit]
Post 18 Dec 2007, 18:19
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.