flat assembler
Message board for the users of flat assembler.
Index
> Main > display of numbers, filenames and line numbers |
Author |
|
edfed 03 Apr 2011, 16:26
what's the need for this?
|
|||
03 Apr 2011, 16:26 |
|
revolution 03 Apr 2011, 16:33
There are already some threads around here that have patches to use %L to give the current line number (as a number, not a string). The filename would be a little bit trickier (it is a string) but is probably also doable.
|
|||
03 Apr 2011, 16:33 |
|
lazer1 05 Apr 2011, 11:15
edfed wrote: what's the need for this? the need is to catch risky constructs, eg I wanted to use single stepping, but int switches off single stepping, thus I needed to locate where int was used, I need fasm to display the file and line number and the interrupt vector. but I dont want to know about usages which arent referenced, eg commented out etc which word search would locate. its quite basic functionality, and should be built in, furthermore it should be quite straightforward to implement within fasm. implementing it in macros is highly inefficient look at C's printf, that has strings, characters, ints, hexadecimal etc YOU tell me whats the need for all that in C printf( "arguments %s, %x used in file %s line %d\n", string_variable, number_variable, __FILE__, __LINE__ ) ; where C is a bit limited is echoing things at compile time the way fasm display is used. when I use this stuff with C I have to catch the problems at run time, with fasm I can catch such things at compile time which is more useful. |
|||
05 Apr 2011, 11:15 |
|
JohnFound 05 Apr 2011, 12:58
|
|||
05 Apr 2011, 12:58 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.