Hi, everyone.
I am developing a class (or object, if you like) for Assertions. I hope you guys know what they are. If you aware of C/C++ - you should be familiar with these useful things. They provide run-time checks in the code, but only in _DEBUG build.
In C/C++ if compiler encounters __FILE__ - it will be replaced with a file name currently being compiled. If compiler "sees" __LINE__ - it will be replaced by the line number currently being compiled.
Anyway, I need to know the line numbers (and file names, if possible) at the assembling time. I could not find any indication that FASM provides that. Does it have any reserved keywords, like __LINE__ and __FILE__ in C/C++?
Alex.
|