This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex M4 vs Cortex A9

Note: This was originally posted on 11th October 2012 at http://forums.arm.com

What are the main difference between these two processors  

Parents
  • Note: This was originally posted on 12th October 2012 at http://forums.arm.com

    I've you've written in unified assembler syntax then it should "just work", but in reality you may have to change a few things. Them usual area for work is around conditional execution; ARM has conditional instructions, Thumb has if-then instructions. Some Thumb instructions get a restricted register range (but UAL assembler hides most of this).

    Footnote - The main change between an ARM-A core and an ARM-M core are the system modes and threading model. Cortex-M has a very different (easier to understand, more done in hardware) method for handling privileged modes, and interrupts. I'd highly recommend the "Definitive Guide to the Cortex-M3" as a book - most of the content applies equally to the M4.

    HTH,
    Iso
Reply
  • Note: This was originally posted on 12th October 2012 at http://forums.arm.com

    I've you've written in unified assembler syntax then it should "just work", but in reality you may have to change a few things. Them usual area for work is around conditional execution; ARM has conditional instructions, Thumb has if-then instructions. Some Thumb instructions get a restricted register range (but UAL assembler hides most of this).

    Footnote - The main change between an ARM-A core and an ARM-M core are the system modes and threading model. Cortex-M has a very different (easier to understand, more done in hardware) method for handling privileged modes, and interrupts. I'd highly recommend the "Definitive Guide to the Cortex-M3" as a book - most of the content applies equally to the M4.

    HTH,
    Iso
Children
No data