https://github.com/akkartik/mu/blob/main/baremetal/mu-init.subx
 1 # Initialize the minimal runtime for Mu programs.
 2 #
 3 # See translate_mu_baremetal for how this file is used.
 4 #
 5 # Mu baremetal programs start at a function called 'main' without inouts or outputs.
 6 
 7 == code
 8 
 9 # initialize stack
10 bd/copy-to-ebp 0/imm32
11 # no heap yet
12 (main)
13 
14 # hang indefinitely
15 {
16   eb/jump loop/disp8
17 }