FUnneR

Zadatak 2 - V2

Mar 8th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Program koji 32bit prom iz mem smestaju u 4 jednobajtna registra
  2. #Nemanja Komadina PR140/2015
  3. .section .data
  4. a: .long 0x12345678
  5. .section .text
  6. .globl main
  7. main:
  8.     movl $0, %eax
  9.     movl $0, %ebx
  10.     movl $0, %ecx
  11.     movl $0, %edx
  12.  
  13.     movb a, %al
  14.     movb a+1, %bl
  15.     movb a+2, %cl
  16.     movb a+3, %dl
  17.  
  18. kraj:
  19.     movl $1, %eax
  20.     int $0x80
Add Comment
Please, Sign In to add comment