# # Looks for unused entry points, to aid in discovering dead code that can be removed # # Usage: unused.pl listing unused.asm # # where: listing is the normal listing from assembly # unused.asm is assembled with the -E nasm flag # # Annotations can be placed in the source to eliminate false positives: # a) if a label can be fallen into, place "; fall through to