Hi,
I get a question about asm code optimization. I am now using cl430 to assemble/link my asm code. it works ok. my main code is something like :
.include "global_support.asm"
.sect "balabal"
main
....................
there are may routines in global_support.asm ,eg: routineA, routineB..... however, in my main code, only routineA is called.
my question is : is there any option of cl430 that can optimize routineB... which is not called so that I can save main program area , and later I can change to devices with smaller main program area. now, I think macro may take effect, but I have to change main code...... is there any other method?
many thanks for your help and suggestions.
Felix