Add a 'count' variable to each symbol which gets increased every time the symbol is referenced. And then modify the register definition to include counts for symbols which are referenced from the source code only and not from the sequencer code. This will give us an automatic usage count for the symbols with only minimal hand-crafting. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> |
||
---|---|---|
.. | ||
Makefile | ||
aicasm.c | ||
aicasm.h | ||
aicasm_gram.y | ||
aicasm_insformat.h | ||
aicasm_macro_gram.y | ||
aicasm_macro_scan.l | ||
aicasm_scan.l | ||
aicasm_symbol.c | ||
aicasm_symbol.h |