flat assembler
Message board for the users of flat assembler.

Index > Main > Preprocessed source

Author
Thread Post new topic Reply to topic
TimK



Joined: 14 Feb 2010
Posts: 20
TimK
Its any way to get complete, preprocessed (see below) source?

Original:
Code:
invoke ExitProcess,0    


Preprocessed:
Code:
push 0
call [ExitProcess]    
Post 16 Feb 2010, 18:41
View user's profile Send private message Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
Location: Michigan, USA
windwakr
Build symbols("Run -> Build Symbols", or ctrl+f8 ), then run the ".fas" file through prepsrc(located in the tools directory of the FASM folder).

_________________
----> * <---- My star, won HERE
Post 16 Feb 2010, 18:45
View user's profile Send private message Reply with quote
TimK



Joined: 14 Feb 2010
Posts: 20
TimK
Thanks windwakr!
Post 16 Feb 2010, 19:27
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
windwakr,

There is one drawback in method you've mentioned: if there are errors in the source, .fas file won't be generated.

__________
TimK,

Tomasz has provided preprocess-only standalone version of fasm (with source; 1.64?; search for fasmpre).
Post 16 Feb 2010, 19:27
View user's profile Send private message Reply with quote
TimK



Joined: 14 Feb 2010
Posts: 20
TimK
Thanks baldr. I found it.
Post 16 Feb 2010, 20:14
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr
TimK,

I don't think it will blend with current codebase seamlessly, though. Wink
Post 16 Feb 2010, 20:23
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.