flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Main > See result after file inclusions and macro expansions?

Author
Thread Post new topic Reply to topic
jkhjklhgl



Joined: 04 Mar 2016
Posts: 9
See result after file inclusions and macro expansions?
Is there any way to see what the code looks like after file inclusions and macro expansions, before it is compiled into machine code?
Post 17 Mar 2016, 17:37
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15312
Location: Bigweld Industries
Yes. Look for the folder "TOOLS" and the file "PREPSRC.INC".
Post 18 Mar 2016, 01:58
View user's profile Send private message Visit poster's website Reply with quote
jkhjklhgl



Joined: 04 Mar 2016
Posts: 9
Unfortunately the tool only says:

Code:
C:\Tony\fasm\TOOLS\WIN32>prepsrc PREPSRC.ASM z.asm
errorinput file is not a recognized assembly information format.

Post 18 Mar 2016, 13:13
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 15312
Location: Bigweld Industries
You need to generate the "symbolic information file", otherwise known as the .fas file, and feed that into prepsrc.

Hint: Use the "-s" option in fasm.exe.
Post 18 Mar 2016, 14:32
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.