aboutsummaryrefslogtreecommitdiff
path: root/shellcode/hello.asm
blob: 13eaaff0fcc7365a20622fbe94ffbed7be4b3209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BITS 32

xor		eax,eax
xor		ebx,ebx
xor		ecx,ecx
xor		edx,edx
jmp short string
code:
pop		ecx
mov		bl,1
mov		dl,12
mov		al,4
int		0x80
dec		bl
mov		al,1
int		0x80
string:
call code
db 'Hello World!'