Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I wanted to have students write a short lab example of ARM assembly language programming on the mbed (probably just read in a pin from a switch and send it back out to an LED and loop). I found other resources for disassembly in a forum post and we have an ARM assembly language textbook and of course the handbook's processor data manuals and schematics along with the ARM RealView Assembler Reference Guide. It will make them appreciate compilers! They have already used MIPS assembly language in another class.
I recall seeing a forum comment that in-line assembly is not supported in the compiler, but that a ".s" file is. I found some info on using .s files with the online compiler in this forum post. Are there any other simple cookbook examples/instructions around showing or explaining how to do assembly with the mbed compiler or other resources I have missed that would help?
I think long term it might make sense to setup this topic as a cookbook page (with warnings about assembly for beginners)