flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > __LINE__ and __FILE__ macros or equivalent

Author
Thread Post new topic Reply to topic
KronosRJ



Joined: 03 Jul 2005
Posts: 15
KronosRJ 02 Dec 2005, 04:11
Hi,

I haven't been able to find a predefined macro that would have the line numbers/current file name...

I would like those because I am building an exception treatment library for Win32, and this is the kind of useful to locate the problems.

TIA
Post 02 Dec 2005, 04:11
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20445
Location: In your JS exploiting you and your system
revolution 02 Dec 2005, 06:20
Without modification FASM 1.64 cannot do that for you. Macros won't help you here. You could try an external program to generate the information you require or possibly make some modifications to the FASM source to produce such data.
Post 02 Dec 2005, 06:20
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 02 Dec 2005, 09:03
Post 02 Dec 2005, 09:03
View user's profile Send private message Visit poster's website Reply with quote
KronosRJ



Joined: 03 Jul 2005
Posts: 15
KronosRJ 02 Dec 2005, 14:53
Thanks for your help. I will see what I intend to do...
Post 02 Dec 2005, 14:53
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.