AGCB
Member
Since begining to learn PIC uCs in June of last year I have been using absolute code (MPLAB) 'assembly' and have done much and learned many things. In reading different forums, other than this one, I have been convinced to learn to write relocatable code for it's apparent ease of using previously written code blocks. It seems like a good idea. For instance, having used the Delay Code Generator I have run into the need to rename all of the variables, goto's and labels when using more than one delay in a program.
But in trying to figure out how to write it, I have so far found it to be more trouble than it's worth. I have searched for and read all the tutorials I could find and done the examples and read the users guides from Microchip but when I try to use it on my own, I get frustrated. Secondly, I have not found any indepth instrutions on the use or setup of a library (MPLIB).
SO!!!
My question is. Should I continue to pursue learning this mode of writing? I notice that the tutorials by Nigel are written in absolute code. I also searched this forum for "relocatable code" and did not find anything.
I trust the people on this forum and have learned much by your answers to my questions. The route of my future studies could depend on your answer.
Thanks Aaron
But in trying to figure out how to write it, I have so far found it to be more trouble than it's worth. I have searched for and read all the tutorials I could find and done the examples and read the users guides from Microchip but when I try to use it on my own, I get frustrated. Secondly, I have not found any indepth instrutions on the use or setup of a library (MPLIB).
SO!!!
My question is. Should I continue to pursue learning this mode of writing? I notice that the tutorials by Nigel are written in absolute code. I also searched this forum for "relocatable code" and did not find anything.
I trust the people on this forum and have learned much by your answers to my questions. The route of my future studies could depend on your answer.
Thanks Aaron