Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] How to setup Stacks in GNU

2004-12-28 by Robert Adsett

At 10:26 PM 12/28/04 +1100, you wrote:
> > What is this last statement doing, and what would be the correct
> > equiv to use in GNU?
>
>I'm doing a few quick tests on EWARM kickstart to see how the code/s[eed 
>generation
>really compares to GCC.
>When I'm done shortly I'll have a look, I had changed the startup code anyway.
>
>But I'd say off-the-cuff that SFE is an intrinsic (macro) to do something
>with the lookup address of SVC_STACK.
>Have a look around in your IAR docs under "intrinsics" or somesuch.

I suspect Kris is right, but I don't know the IAR syntax either.  There are 
startup examples in the files section.  Also the newlib-lpc has startup and 
ld examples ( http://www.aeolusdevelopment.com/  Just follow the download 
link).

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.