; ARM assembly tutorial for Asmonite, example 01: the smallest program (Raspberry Pi Pico 2, Arm Cortex-M33).
; Adapted from the ARM-ASM-Tutorial by Niklas Guertler (example EmptyProgram); see LICENSE.txt.
;
; The debugger loads it into the RAM at 0x20000000 and stops at _start (F7). Step with F7: "nop" does
; nothing, "b $" jumps to itself, for ever.
.target pico2
.arch thumb
.imagebase 0x20000000

_start:
    nop                         ; do nothing
    b    $                      ; endless loop: $ is the address of this line
