--- In lpc2000@yahoogroups.com, "jpsg123" <gonzagajohn@h...> wrote: > Hi All, > > To reduce my code size, I'm trying to build my project in THUMB. My question, what are > the things that I need to watch out in the LPC2106 if I'm running in THUMB mode? (e.g. Do > I need to handle writing to or reading from registers differently in THUMB?) No. Register accesses etc are exactly the same for accessing the standard registers r0..r15 and accessing peripherals etc. Thumb mode is just a "compressed" form of an ARM instruction. That is, every Thumb instruction decodes into an effective ARM instruction., Some ARM instructions do not have THumb equivalents. You will still need to write some ARM code and tie them together (ie. interworking). -- CHarles
Message
Re: Compiling for THUMB
2004-04-19 by embeddedjanitor
Attachments
- No local attachments were found for this message.