• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 880
  • Last Modified:

ARM programming languages

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.
0
docesam2
Asked:
docesam2
2 Solutions
 
developmentguruCommented:
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).

http://en.wikipedia.org/wiki/ARM_architecture#Instruction_set
http://en.wikipedia.org/wiki/ARM_Cortex-A8

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).
http://www.arm.com/files/pdf/Cortex-M3_programming_for_ARM7_developers.pdf

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).
0
 
eagerCommented:
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now