code directive question
Ben Dugan <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <[email protected]> |
I thought I'd try to use code directives and make my code relocateable, but I have a question. If I want interrupt vectors to begin at 0x800 (as they should for bootloading purposes in the picdem board), how do I do that? Instead of: org 0x800 I can write: code 0x800 But that's not really an improvement, is it? Isn't there some way that the source code can have a label or something, so that it will go where the linker script knows to put vectors? Something like this, for instance: vectors code goto start etc ? I'm sorry to ask this, but I can't seem to find it in the docs so far. Ben