; dummy: dummy_simple.asm, but using another start address ; NOTE: we need to specify "-e _start" in the ld command line, and make _start in .text section ; nasm -f win32 -o dummy.obj dummy_alt_start.asm ; i686-w64-mingw32-ld -e _start -o dummy.exe dummy.obj -lkernel32 global _start extern __imp__ExitProcess@4 section .text header: int3 _start: push 2 call [__imp__ExitProcess@4]