Advertisement
Guest User

Untitled

a guest
Jan 14th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         .text
  2.         .global main
  3. main:
  4.         call    readi32
  5.         mov     %eax, %edi
  6.  
  7. loop:
  8.         cmp     $0, %edi
  9.         jl      out
  10.         mov     %edi, %eax
  11.         call    writei32
  12.         call    nl
  13.         sub     $1, %edi
  14.         jmp     loop
  15.                                
  16. out:
  17.         call    finish
  18.         ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement