Skip to content

Instantly share code, notes, and snippets.

@alastorid
Created February 21, 2018 14:44
Show Gist options
  • Save alastorid/f5a2fbe2815951d50100d30879b1abf8 to your computer and use it in GitHub Desktop.
Save alastorid/f5a2fbe2815951d50100d30879b1abf8 to your computer and use it in GitHub Desktop.
tiny win32 nasm
; a.asm
BITS 32
GLOBAL main
SEGMENT .text
main:
ret
@alastorid
Copy link
Author

compile with:
nasm a.asm -fwin32
alink -oPE -entry main xclm.obj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment