Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fnc_test:
- ; store ebx
- push ebp
- ; store esp
- mov ebp, esp
- ; print two new lines
- push _endl
- call [printf]
- call [printf]
- ; print using esp register
- ;mov dword [esp], _msg
- push _msg
- call [printf]
- ; print another new line
- push _endl
- call [printf]
- ; restore esp
- mov esp, ebp
- ; restore ebx
- pop ebp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement