16 lines
205 B
NASM
16 lines
205 B
NASM
global _start
|
|
|
|
%include "header.inc"
|
|
|
|
jmp start
|
|
foo:
|
|
mov eax, esp
|
|
ret 123
|
|
|
|
start:
|
|
call foo
|
|
mov dword [eax], 0 ; clear the address pushed by the call instruction
|
|
|
|
|
|
%include "footer.inc"
|