logo

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Unnamed repository; edit this file 'description' to name the repository.
commit: 0eef59c401716b6c8d998ca0df90b0e63e1a15a3
parent 8da892593751b0dcd133d19684e7ecbefbd45dc4
Author: iliana weller <ilianaw@buttslol.net>
Date:   Sat,  8 Dec 2018 12:55:17 -0800

Eeeee EE #213 eeee GithubButNotGithub/e-win-assembly

Add e_win32.asm and e_win64.asm for 32-bit and 64-bit Windows

Diffstat:

Ae_win32.asm22++++++++++++++++++++++
Ae_win64.asm25+++++++++++++++++++++++++
2 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/e_win32.asm 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' diff --git a/e_win64.asm 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'