electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set
Author Message
atmelAVR91



Joined: 02 Aug 2006
Posts: 70


Post02 Nov 2006 12:09   

Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set


What is difference between ThumbŪ-2 ISA of Cortex-M3
and ARM7TDMI ARM/THUMB mode.
Back to top
Google
AdSense
Google Adsense




Post02 Nov 2006 12:09   

Ads




Back to top
dainis



Joined: 15 May 2001
Posts: 1451
Helped: 56


Post02 Nov 2006 12:31   

Re: Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set


http://www.arm.com/products/CPUs/archi-thumb2.html
Back to top
nooknikz



Joined: 22 Apr 2002
Posts: 404
Helped: 22
Location: thailand


Post02 Nov 2006 15:10   

Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set


http://www.arm.com/pdfs/IntroToCortex-M3.pdf
Back to top
robert_from_philips



Joined: 10 Apr 2006
Posts: 35
Helped: 7
Location: US


Post02 Nov 2006 22:27   

Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set


Just a couple really significant changes:
1. While thumb2 is a superset of thumb. Thumb2 includes a mix of 16-bit and 32-bit instructions, thumb only 16-bit instructions.
2. On Cortex M3 there is no ARM mode, which makes it absolutely mandatory to change existing ARM7 code as ARM7 code can not exist without some ARM code.
3. In general, Thumb2 mode is said to have similar performance as ARM mode in a system that is not memory access constraint while it has the small code similar to thumb. You get the best of both worlds.

If you have an ARM7 and you would program the 10% most time ciritcal code in ARM mode and the remaining part of the code in Thumb mode, the difference in code size would be less than 5% and the difference in speed also less thna 5%. However, the beauty of Thumb2 is simplicity, you do not need to know which part of the code needs to be fast and which is OK to run in slower Thumb mode.

Summary: Assuming the same speed and a smart programmer, Thumb2 does not change performance and code size a lot but it is simpler and for new designs reduces time to market.
If you have existing ARM7 code that might be very different.

Robert
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Arm Cortex-M3 Core with ThumbŪ-2 ISA Instruction Set
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Non-aligned Access: Thumb Instruction on ARM LPC2214 help (1)
About ARM Cortex-M3 (5)
ARM Cortex Book (1)
C++ Threads for ARM Cortex (2)
ARM7 and ARM Cortex M3 diff? (4)
NXP LPC1758 ARM Cortex-M3 Board (4)
NXP LPC1768 ARM Cortex-M3 Board (5)
does jlink of IAR support ARM Cortex M3? (7)
zigbee protocol for ARM cortex M3 or AVR (3)
To develop project based on ARM Cortex-M3 processor (6)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS