Advertisement
TimSenin

Untitled

Nov 24th, 2022
739
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     .global main
  2. main:
  3.     call readi32
  4.     xor %ebx, %ebx  // В %ebx лежит ответ
  5.     movl $32, %ecx  // Кол-во итераций
  6. work:
  7.     rol $1, %eax
  8.     jc increment
  9.     loop work  // падает здесь :(
  10.     movl %ebx, %eax
  11.     call writei32
  12.     call finish
  13. increment:
  14.     inc %ebx
  15.     loop work
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement