Yahoo Groups archive

Lpc2000

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

Message

Re: gcc problem / why (or not) to use ARM mode

2005-07-19 by embeddedjanitor

There is a very valid reason why you might want to do this.

If all your ARM and interworking stuff is in assembler files then you 
can often write all your C code in straight Thumb and use Thumb 
libraries. That makes for a pure Thumb solution (except for a few 
lines of assembler) and means you have no interworking in thc 
libraries and C code. Result: potentially faster and smaller code.


 --- In lpc2000@yahoogroups.com, "lpc2100_fan" <lpc2100_fan@y...> 
wrote:
> Almost,
> they will be entered in ARM mode but you can switch within the
> interrupt service routine to Thumb and it makes even sense to do 
this
> with a 16-bit bus system
> 
> Bob
> 
> --- In lpc2000@yahoogroups.com, Mike Nelson <m1k3n3ls0n@y...> wrote:
> > In the processors supporting both ARM and Thumb
> > (T-variants), all exceptions (interrupts, aborts) 
> > must be handled in ARM mode.
> > 
> > --- lpc2100_fan <lpc2100_fan@y...> wrote:
> > 
> > > just a brief comment about ARM mode and THUMB mode.
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around 
> > http://mail.yahoo.com

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.