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