From a121bc26fc7821970b19e72211fe29e8cbfcdf60 Mon Sep 17 00:00:00 2001 From: Blake Burgess Date: Sat, 8 Dec 2018 15:25:57 -0500 Subject: [PATCH] Add e_win32.asm --- e_win32.asm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 e_win32.asm diff --git a/e_win32.asm b/e_win32.asm new file mode 100644 index 0000000..f80dcb8 --- /dev/null +++ b/e_win32.asm @@ -0,0 +1,22 @@ + +format PE console +entry start + +include 'win32a.inc' + +section '.text' code readable executable + + start: + invoke printf, e + jmp start + +section '.data' data readable + + e db "e", 0 + +section '.idata' import data readable writeable + + library msvcrt,'MSVCRT.DLL' + + import msvcrt,\ + printf,'printf'