Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .global main
- main:
- call readi32
- xor %ebx, %ebx // В %ebx лежит ответ
- movl $32, %ecx // Кол-во итераций
- work:
- rol $1, %eax
- jc increment
- loop work
- movl %ebx, %eax
- call writei32
- call finish
- increment:
- inc %ebx
- loop work
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement