Including Macros from external files?

ViniVan

New Member
I find myself writing (or should I say copy-pasting) the same macro definitions over and over again. Is there anyway to create a file with multiple macro definitions and call them from external files?
 
Even though my project was using relocatable code, I didn't know this can be done. It works! Thanks man!
 
If you build libraries of .INC routines labels used in the main routine need to be declared by the GLOBAL instruction, ref to the MPASM Assembler User Guide explains them.
Max.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…