Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .intel_syntax noprefix
- .global main
- .text
- main:
- mov eax, offset x
- push eax
- mov eax, offset s
- call scanf
- add esp,4
- ret
- .data
- s: .asciz "Hello, world!\n"
- ///
- Napisac **.s program, ktore pobiere liczbe multiply *2,
- // scanf -
- x: .dword 0
- scanf("cos, %s",x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement