nasm style listing

dancie reeeves danny_reeves at hotmail.com
Thu Sep 21 14:12:56 PDT 2006


I found the nasm style listing very difficult to read. Every second line
had a '%line ----'. In the file nasm-listfmt.c I added at line 167 ---

	if (!bc) {
		/* remove the line -- %line + --- etc to make the listing easier to
read
		   just check for the '%' at the begin of the line*/
	    if(source[0] != 0x25)
	    	fprintf(f, "%6lu %*s%s\n", listline++, 32, "", source);
	}

I found that this made the listing much easier to read.

Dancie



More information about the yasm-devel mailing list