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
Message
Re: gcc problem / why (or not) to use ARM mode
2005-07-19 by embeddedjanitor
Attachments
- No local attachments were found for this message.