Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .data
- msg db 'Hi!'
- lenUserMsg equ $-msg
- input db 'You input :'
- leninput equ $-input
- section .bss
- num resb 5
- section .text
- global _start
- _start:
- mov eax,4
- mov ebx,1
- mov ecx,msg
- mov edx,lenUserMsg
- int 80h
- mov eax,3
- mov ebx,2
- mov ecx,num
- mov edx, 5
- int 80h
- mov eax,4
- mov ebx,1
- mov ecx,input
- mov edx,leninput
- int 80h
- mov eax,4
- mov ebx,1
- mov ecx,num
- mov edx,5
- int 80h
- mov eax,1
- mov ebx,0
- int 80h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement