You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
322 B
NASM
26 lines
322 B
NASM
5 years ago
|
|
||
|
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'
|