gnupic: code directive question


Previous by date: 9 Sep 2005 16:46:55 +0100 PiKdev V0.8.1, Gibaud Alain
Next by date: 9 Sep 2005 16:46:55 +0100 Re: [gnupic] code directive question, Peter Onion
Previous in thread:
Next in thread:

Subject: code directive question
From: Ben Dugan ####@####.####
Date: 9 Sep 2005 16:46:55 +0100
Message-Id: <4321AE64.5070808@curdes.com>

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




Previous by date: 9 Sep 2005 16:46:55 +0100 PiKdev V0.8.1, Gibaud Alain
Next by date: 9 Sep 2005 16:46:55 +0100 Re: [gnupic] code directive question, Peter Onion
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.