I am developing some c code using the cc5x compiler as part of my
masters thesis at Tennessee Technological University. I was hoping
someone might be able to help me or point me to an appropriate
resource. I am developing a multithreading package for the PIC16F877
and using Rick Farmer's Bootloader. I need to start my generated
code at memory location 3. When writing simpler programs using cc5x
all I have needed to do is insert the statement "org 3" before the
generated statement "goto main". With the more complex code and
therefore more complex generated assembly code this no longer works.
Is there a pragma or other technique for starting my generated code
at a specific memory location.