cancel
Showing results for 
Search instead for 
Did you mean: 

ARM processor instruction set

AMat.1
Associate II

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

4 REPLIES 4
TDK
Guru

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".

>> 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 Venmo Up vote any posts that you find helpful, it shows what's working..
gregstm
Senior II

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.

Earlier thread https://community.st.com/s/question/0D53W00000Chr4PSAR/where-to-find-command-table

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..