The .nolist command turns off writing out to the listing file (applicable only if you are running SPASM with the -L switch). Everything in the file after the .nolist command is excluded from the list file, including and files included with via #include. For example

#include ""
#include "ginormous.asm"
;no listing output has been written for these two files. 

This can be useful if you are including large files that define a lot of constants but have no actual code in them. It makes reading a listing file much easier to read and debug. To turn listing back on look at the .list command.



Last edited Sep 28, 2011 at 11:23 AM by BuckeyeDude, version 1


No comments yet.