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

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

RE: [avr-gcc-list] C variable at SP


From: Gavin Jackson
Subject: RE: [avr-gcc-list] C variable at SP
Date: Mon, 25 Nov 2002 16:29:17 +1300

Russell

That's what the linker command file is used for. You'll have to
move things around a bit and make sure that you're not using
one of the special function registers for your variable location.

Gavin

> -----Original Message-----
> From: Russell [SMTP:address@hidden
> Sent: Monday, November 25, 2002 3:17 PM
> To:   address@hidden
> Subject:      [avr-gcc-list] C variable at SP
> 
> Hi all,
> 
> Can i say in avr-gcc where to store a C variable?
> 
> I want sp to be stored at ram location 0x5d:
> 
> void (**sp)(void);
> or:
> 
> void (*fp)(void);
> fp *sp;
> 
> avr-gcc-list at http://avr1.org
avr-gcc-list at http://avr1.org



reply via email to

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