Advertisement
Guest User

Untitled

a guest
Mar 1st, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. .global func_s
  2.  
  3. func_s:
  4. /* Votre programme assembleur ici... */
  5. mov e, %eax
  6. add $2013, %eax
  7. mov c, %ecx
  8. add $1600, %ecx
  9. cmp %eax, %ecx
  10. jna CONDI3
  11.  
  12. CONDI1:
  13. mov c, %ecx
  14. mov %ecx, a
  15. cmp %ecx, b
  16. jna CONDI2
  17. mov e, %ecx
  18. cmp %ecx, d
  19. je CONDI2
  20. jmp FIN_PROG
  21. CONDI2:
  22. mov e,%ecx
  23. mov %ecx, a
  24. jmp FIN_PROG
  25. CONDI3:
  26. mov b, %ebx
  27. add %ebx, a
  28. FIN_PROG:
  29. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement