Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text
- .global main
- main:
- call readi32
- mov %eax, %edi
- loop:
- cmp $0, %edi
- jl out
- mov %edi, %eax
- call writei32
- call nl
- sub $1, %edi
- jmp loop
- out:
- call finish
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement