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

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

Re: [avr-gcc-list] C and AS programs - compiled together


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] C and AS programs - compiled together
Date: Fri, 16 Mar 2007 00:22:18 +0100 (MET)

"Grzegorz !Kubik" <address@hidden> wrote:

> I would like to align 256B buffer at the RAM address 0xXX00 - to use
> 8-bit buffer pointers.

Well, IMHO there's an .align pseudo-op.  This is potentially wasting
up to 255 bytes of RAM then.

Normally, you'd rather tell the linker (via linker scripts) where to
place that buffer exactly.  In the world of relocational object files,
it's the linker who decides about what goes where in the various
memory areas.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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