nasm: pop esp test
This commit is contained in:
parent
e0dc847ded
commit
0c2113d28c
12
tests/nasm/pop_esp.asm
Normal file
12
tests/nasm/pop_esp.asm
Normal file
|
@ -0,0 +1,12 @@
|
|||
global _start
|
||||
|
||||
section .data
|
||||
align 16
|
||||
|
||||
%include "header.inc"
|
||||
|
||||
mov esp, stack_top-16
|
||||
mov dword [esp], 55aaaa55h
|
||||
pop dword [esp-12]
|
||||
|
||||
%include "footer.inc"
|
Loading…
Reference in a new issue