I am a Teaching Assistant for a PIC programming class; the instructor uses absolute code when teaching PIC16F Assembly programming.
What are the advantages of absolute code over relocatable code?
The advantages I can think of are:
The Assembler is easy to write; but, does not really matter to me.
There seem to be more examples of absolute code on the internet.
The disadvantages I can think of are:
It is harder to link many asm file together; because two files may wish to use the same file/data or code location.
I personally would like to change to relocatable code; so, I am thinking of re-writing all the sample projects as relocatable.
I just wish to know if there is any advantage of absolute code that I am missing.
Tim S.
What are the advantages of absolute code over relocatable code?
The advantages I can think of are:
The Assembler is easy to write; but, does not really matter to me.
There seem to be more examples of absolute code on the internet.
The disadvantages I can think of are:
It is harder to link many asm file together; because two files may wish to use the same file/data or code location.
I personally would like to change to relocatable code; so, I am thinking of re-writing all the sample projects as relocatable.
I just wish to know if there is any advantage of absolute code that I am missing.
Tim S.