Add e_win64.asm
This commit is contained in:
parent
a121bc26fc
commit
b3e9e4459d
|
|
@ -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'
|
||||||
Loading…
Reference in New Issue