flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Full MASM syntax compatibility with FASM

Author
Thread Post new topic Reply to topic
alorent



Joined: 05 Dec 2005
Posts: 221
alorent 17 Apr 2008, 15:54
Hello guys,

I have been searching around with no luck. Probably some of you might want to kill me for my question...but here it goes Very Happy

Have anyone managed to create macros in FASM to be able to fully parse and compile MASM source code format with FASM?

Many of you might be totally in disagree with that idea, but well, many of us assisted to Iczelion tutorial classes in MASM... Smile

So, my idea is to use FASM but without having to adapt all MASM source code to FASM (and I don't want to compile it in separate MASM/FASM OBJs Smile)

Or maybe it's totally impossible that idea of FASM fully compile MASM format? In that case, what the heck, I will suffer with mixing MASM/FASM Smile

Thanks!!!
Post 17 Apr 2008, 15:54
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20466
Location: In your JS exploiting you and your system
revolution 17 Apr 2008, 16:03
I think with all the obscure things that can be put into MASM code (think macros for one) that it would extremely difficult (and perhaps impossible) to do with just macros alone. You would need to limit just what you want to parse, then you might have a chance at achieving something working on simple cases.
Post 17 Apr 2008, 16:03
View user's profile Send private message Visit poster's website Reply with quote
alorent



Joined: 05 Dec 2005
Posts: 221
alorent 17 Apr 2008, 16:04
Thanks for the information...I was afraid of that.

Thanks again!
Post 17 Apr 2008, 16:04
View user's profile Send private message Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 17 Apr 2008, 16:37
It would be a very nice project to work on alorent. Unfortunately, I don't think a full MASM parse would be possible with macros alone. Maybe a small lib written in FASM to parse MASM to FASM. ASM. Smile
Post 17 Apr 2008, 16:37
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20466
Location: In your JS exploiting you and your system
revolution 17 Apr 2008, 16:46
AlexP wrote:
It would be a very nice project to work on alorent. Unfortunately, I don't think a full MASM parse would be possible with macros alone. Maybe a small lib written in FASM to parse MASM to FASM. ASM. Smile
Hehe, MASM could parse the MASM source and create a binary, then you use 'file' directive to include it in the fasm code Twisted Evil
Post 17 Apr 2008, 16:46
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 18 Apr 2008, 07:03
such lib wouldn't be "small"
Post 18 Apr 2008, 07:03
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 18 Apr 2008, 11:53
Quote:
Hehe, MASM could parse the MASM source and create a binary, then you use 'file' directive to include it in the fasm code
I think the point is to take the dependency AWAY from the MASM compiler Smile.
Quote:
such lib wouldn't be "small"
I use that term quite often to reference... just about anything
Post 18 Apr 2008, 11:53
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20466
Location: In your JS exploiting you and your system
revolution 18 Apr 2008, 12:02
AlexP wrote:
Quote:
Hehe, MASM could parse the MASM source and create a binary, then you use 'file' directive to include it in the fasm code
I think the point is to take the dependency AWAY from the MASM compiler.
Okay, i hadn't figured that out, silly me.
Post 18 Apr 2008, 12:02
View user's profile Send private message Visit poster's website Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 18 Apr 2008, 14:27
Quote:
Okay, i hadn't figured that out, silly me.
It's kind of hard to tell sarcasm with you Revolution, expecially without facial expressions (and if you post a smiley face that's just not funny.)
Post 18 Apr 2008, 14:27
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20466
Location: In your JS exploiting you and your system
revolution 18 Apr 2008, 14:49
AlexP wrote:
(and if you post a smiley face that's just not funny.)
Smile
Post 18 Apr 2008, 14:49
View user's profile Send private message Visit poster's website Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 18 Apr 2008, 20:57
Mad ... Crying or Very sad
Post 18 Apr 2008, 20:57
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 18 Apr 2008, 21:09
Evil or Very Mad STOP SPAMM PLEASE.
Post 18 Apr 2008, 21:09
View user's profile Send private message Visit poster's website Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 18 Apr 2008, 21:21
Quote:
STOP SPAMM PLEASE.
Well what about revolution's helpful post?
Post 18 Apr 2008, 21:21
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 18 Apr 2008, 21:24
in frensh, we say:

Quote:

les meilleures blagues sont les plus courtes.
c'est marrant au debut, mais a force, ça devient lourd.


[translation?]
best jokes are the shorter?
it is funny at the begin, but after, it become heavy?
Post 18 Apr 2008, 21:24
View user's profile Send private message Visit poster's website Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 18 Apr 2008, 21:34
Replace:

/dev/random

With:

/dev/edfed
Post 18 Apr 2008, 21:34
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.