flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Macro instruction double iteratation

Author
Thread Post new topic Reply to topic
rydemstorm



Joined: 31 Oct 2012
Posts: 15
rydemstorm 07 Nov 2012, 18:55
I would like doit:
Example:
tester ax,cx
Generated code:
add ax,ax
add ax,cx
add cx,ax
add cx,cx
Macro:
macro tester [arg]
{
common
..local equ arg
forward
tester2 arg,..local
}
macro tester2 elem,[arg]
{
forward
add elem,arg
}
How can it is possible???
Post 07 Nov 2012, 18:55
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.