Re: code directive question
Ben Dugan <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <[email protected]> |
> That's because interrupt vectors ARE NOT relocatable ;) > > Try using relocation for some code that can be relocated and you'll > start to see the advantages. Yes, I understand that. But I thought one advantage would be that I could write the program in such a way that I could move it, say, from a picdem board (with its linker script) to some other board or chip architecture (with a different linker script) and just changing the linker script would relocate things correctly.