1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
bits 32 extern _start_odin global _start section .text ;; NOTE(flysand): For description see the corresponding *_amd64.asm file ;; also I didn't test this on x86-32 _start: xor ebp, rbp pop ecx mov eax, esp and esp, -16 push eax push ecx call _start_odin jmp $$