logoalt Hacker News

rogeliodhtoday at 4:09 AM2 repliesview on HN

Awesome. Any resource recommendations to learn ARM assembly?


Replies

imtomttoday at 5:08 AM

Honestly, just reading existing assembly to get a feel for how it works, and then violently googling everything that goes wrong. The ARM Architecture Reference Manual (aka "The ARM ARM") ended up being really helpful for looking up what specific instructions do and how they're called. Another really helpful tool is writing something in C/C++, and compiling with "gcc -O1 -S file.c" to see the assembly gcc generated. It helps to mess around a lot with smaller programs in gdb or lldb.

zzz6519003today at 4:13 AM

[dead]