is the programming language /environment/libraries used in the 3 families of ARM processors(cortex-M,cortex-R and cortex-A) are the same ,i.e. if i learn for example cortex-R programming will i be able to make programs for the other two without relearning a whole new language/environment?

i know they probably will not be identical but ihope at least "upgrading" myself from one to the other  takes a whole lots of learning .
 how much they differ / are similar ?

note that i don't mean code compatibility but rather i don't like picking up books and learning too much ,any links to resources that will help me is highly appreciated.

asked 10/25/2011 01:20

docesam2's gravatar image

docesam2 ♦♦

2 Answers:
From what research I have been able to do, the base language is the same.  Other languages than just the assembly are supported.  I saw reference to C and Java, there may be others.  I believe that Embarcadero is working on a new compiler that will be capable of compiling to ARM chips.  This would mean Delphi and C++ Builder would be able to handle such compiling in RAD STUDIO XE3(? - not sure of the name as it is not out yet).

It looks like the main differences have to do with how many pipelines are supported, predictive branching, and I believe I saw mention of some that have more than one core.

This link shows that a newer version does have basically the same instructions with some new ones added.  It also discusses migrating between the two versions(ARM7TDMI  and Cortex-M3).

If you are using a language other than assembly then the differences should be taken into account for you (as long as your compiler optimizes for the different versions).


developmentguru's gravatar image


There are minor differences between the various ARM processors, but the core instruction set is the same for all versions.  Unless you are doing operating system or system library development, or have very unusual technical requirements, you don't need to be concerned about the differences.

Almost everything you learn about ARM programming will be applicable to all ARM processors.

answered 2011-10-26 at 00:16:58

eager's gravatar image


Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



Asked: 10/25/2011 01:20

Seen: 327 times

Last updated: 10/28/2011 07:31