Guest User

Untitled

a guest
Feb 11th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.57 KB | None | 0 0
  1. section .text
  2. global _start
  3.  
  4. _start:
  5.     mov eax, 4 
  6.     mov ebx, 1 
  7.     mov ecx, jak_masz  
  8.     mov edx, jak_masz_dl   
  9.     int 80h    
  10.  
  11.     mov eax, 3     
  12.     mov ebx, 0     
  13.     mov ecx, imie  
  14.     mov edx, imie_dl   
  15.     int 80h    
  16.  
  17.     mov eax, 4     
  18.     mov ebx, 1     
  19.     mov ecx, czesc 
  20.     mov edx, czesc_dl  
  21.     int 80h    
  22.  
  23.     mov eax, 4     
  24.     mov ebx, 1     
  25.     mov ecx, imie  
  26.     mov edx, imie_dl   
  27.     int 80h    
  28.  
  29.     mov eax, 1
  30.     xor ebx, ebx
  31.     int 80h
  32.  
  33. section .data
  34.     jak_masz db "Jak masz na imie? "
  35.     jak_masz_dl equ $ - jak_masz
  36.    
  37.     imie times 20 db 0 
  38.     imie_dl equ $ - imie
  39.  
  40.     czesc db "Czesc "
  41.     czesc_dl equ $ - czesc
Add Comment
Please, Sign In to add comment