gnupic: Re: [gnupic] code directive question
Subject:
Re: [gnupic] code directive question
From:
Craig Franklin ####@####.####
Date:
10 Sep 2005 02:35:03 +0100
Message-Id: <432238A0.1070306@users.sourceforge.net>
Read this:
http://gputils.sourceforge.net/reloc_howto.html
then read MPASM chapter 6 and on from this:
http://gputils.sourceforge.net/33014g.pdf
Ben Dugan wrote:
>
> 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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>