SHARE
TWEET

Untitled

a guest Nov 4th, 2018 135 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.      .intel_syntax noprefix
  2.         .global main
  3.         .text
  4. main:
  5.         mov eax, offset x
  6.         push eax
  7.         mov eax, offset s
  8.         call scanf
  9.         add esp,4
  10.         ret
  11.  
  12.         .data
  13. s:      .asciz "Hello, world!\n"
  14. ///
  15. Napisac **.s program, ktore pobiere liczbe multiply *2,
  16.  
  17. // scanf -
  18. x: .dword 0
  19. scanf("cos, %s",x);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top