4 # error "This file assumes -mregparm=3 -DREGPARM=3"
11 # Align the stack and make sure the high half is zero
23 # Compute argc and argv (assumes REGPARM)
26 movb %dl,0x81(%bx) # Zero-terminate string
28 pushl %eax # Make space for argv
34 # calll __init_memory_arena
36 # Now call main... (NOTE: gcc forces main to be regparm 0)
41 # Here %eax is the exit code, fall through into exit
48 # Exit code already in %eax
49 movb $0x4c,%ah # Terminate program