Friday 23 October 2015

Bare-metal smallest STM32 assembly program

loop:
    ADD R0, R0, #1
b loop


I wanted to play with GCC assembler and linker. That's why I created really small and simple examples of code. It just increments register R0 but blinking LED example is on the way! So let's go to the bare-metal world of ARM assembly with GCC.