SYM_DEBUG causes the assembler to generate source line and symbolic debugging information in the object module. This information is then available to the COP8 linker which can process it to create a COFF file with debugging information. The COFF file can be used by the COP8 debuggers.
Debugging information is generated for all symbols, except for multiple occurrences of "local labels" (labels which start with $), in which case only the first occurrence is handled. Symbols by default are marked static unless explicitly declared public or external.