summaryrefslogtreecommitdiff
path: root/dummy/dummy.asm
blob: 3915808bee80d738bbbddaab95274e7367ecf3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
; dummy: just exit with error code 2
; nasm -f win32 -o dummy.obj dummy.asm
; i686-w64-mingw32-ld -o dummy.exe dummy.obj -lkernel32

global _start

extern _ExitProcess@4

_start:
	push 2
	call _ExitProcess@4