@ My first ARM assembly program! .syntax unified @ this gives me illegal instructions in qemu: .cpu cortex-m4 .code 16 .thumb_func .globl main main: push {r4, lr} @ guarantee 8-byte alignment in case of ldrd/strd ldr r0, =histr bl printf movs r0, #0 pop {r4, pc} .data histr: .asciz "hello, world\n"