flat assembler
Message board for the users of flat assembler.

Index > Feedback > get current operand/address size

Author
Thread Post new topic Reply to topic
b1528932



Joined: 21 May 2010
Posts: 287
b1528932
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: 17277
Location: In your JS exploiting you and your system
revolution
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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.