Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %include "rw32-2018.inc"
- section .data
- str1 db "test",0
- str2 db "Pocet prectenych znaku:%d",0
- strLen db 0
- ; zde budou vase data
- section .text
- _main:
- %define inputLen ebp-4
- push ebp
- mov ebp, esp
- push str1
- call strlen
- mov [inputLen],eax
- push dword [inputLen]
- push str2
- call printf
- add esp,8
- ; zde bude vas kod
- mov esp,ebp
- pop ebp
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement