We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there any way to have the compiler NOT generate LJMP's and other jumps that use absolute addresses? I'm asking because I'm trying to copy a Flash loader into RAM, and so I'd like all my jumps to be relative, otherwise I have to adjust them. Thanks, Ed
The compiler/linker offer a way to create a function that executes at one address but which is stored at another address. To execute the function, you must memcpy it from CODE space to RAM or FLASH and then call it or jmp to it. Contact technical support if you have trouble figuring this out from the manuals. It's a little tricky but it works really well. Jon