flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > get current operand/address size

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932 27 Feb 2011, 21:35
I would like to have a macro like this:


macro _1
{
if 16
push bp
else if 32
push ebp
else if 64
push rbp
end if
}


Is that possible? I belive this feature will be very usefull for someone who wants to move his code into higher level and write macros for each part.

right now i write something and i want it to run in all modes (16, 32, and 64). can i do it or not?
Post 27 Feb 2011, 21:35
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 28 Feb 2011, 00:50
See here.
Post 28 Feb 2011, 00:50
View user's profile Send private message Visit poster's website 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.