Skip to main content
AMat.1
Associate II
October 1, 2020
Question

ARM processor instruction set

  • October 1, 2020
  • 3 replies
  • 2133 views

Hi, i would like to understand how to program arm processors in general but i need an in depth explanation or tutorial to show m ehow to find the commands or letter combinations( words) that make the MCU do something.

if i were to compare written code to a newspaper, the newspaper would have words that have a general meaning accepted by the people who speak the language.

if i wanted to understand what the newspaper siad i would have to use a dictionary and know some grammar. so then, if i wanted to tell the ARM to do something , where would i find the dicitonary equivalent of what i can write and how i can write it? The referance manuals and instruction sets dont mean much, they arent clear definitions to me, that might be a problem you can address aswell. thank you o/

I would

    This topic has been closed for replies.

    3 replies

    TDK
    Super User
    October 1, 2020

    Typically people program MCUs using C code, in which you don't need to know the assembly instructions. I don't think knowing the assembly instructions is going to help very much if you're just starting out.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    Tesla DeLorean
    Guru
    October 1, 2020

    >> but i need an in depth explanation or tutorial to show me how to find the commands or letter combinations( words) that make the MCU do something.

    There should be 30+ years worth of books covering the topic, couldn't you find one amongst them with a style that suits you?

    A book on CPU architecture might help with the mechanics, should be plenty on ARM Assembler, and things like Assemblers, Compilers, Linkers, Loaders, etc.

    Skim these, rate on scale 1-11 for presentation and content

    https://www.amazon.com/Assembly-Language-Programming-Architecture-books-ebook/dp/B07WTQ9MXP

    https://www.amazon.com/STM32F103-Arm-Microcontroller-Embedded-Systems-ebook/dp/B07Z268HY4

    https://www.amazon.com/Computer-Organization-Design-ARM-Architecture/dp/0128017333

    https://www.amazon.com/Digital-Design-Computer-Architecture-ARM/dp/0128000562

    https://www.amazon.com/ARM-System-Chip-Architecture-2nd/dp/0201675196

    https://www.amazon.com/System-Architecture-Vlsi-Steve-Furber/dp/0201177862

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    October 1, 2020
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    gregstm
    Senior II
    October 1, 2020

    You might want to study the book "The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors" by Joseph Yiu - it's a good reference book. I too would recommend you stick with C for 99.9% of programming.