avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] rjmp to an absolute address


From: Erik Christiansen
Subject: Re: [avr-gcc-list] rjmp to an absolute address
Date: Thu, 8 Nov 2007 13:07:40 +1100
User-agent: Mutt/1.5.9i

On Wed, Nov 07, 2007 at 05:04:05PM -0700, Shaun Jackman wrote:
> 
> Is there a way in source code to use the rjmp instruction to jump to
> an absolute address (not relative to the section offset) without using
> a linker option or a linker script?

Shaun,

If the vectors are defined in assembler, then it is effortless to place
a global label on the reset vector. (Global based on the assumption that
the sjmp is in another file, since I figure you'd not be asking the
question otherwise. :-)

Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]