Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. format ms64 coff
  2. section '.text' code readable executable align 16
  3. use64
  4. public _loop
  5. _loop:
  6. mov rax, rcx
  7. @loop_loop:
  8. mul rcx
  9. nop
  10. nop
  11. nop
  12. loop @loop_loop ; lol
  13. ret
  14. int3
  15. int3
  16. int3
  17. int3
  18. int3
  19. int3
  20. int3
  21. int3
  22. int3
  23. int3
  24. public _tail_recursion
  25. _tail_recursion:
  26. test ecx, ecx
  27. je @is_0
  28. mov eax, ecx
  29. dec ecx
  30. @loop:
  31. test ecx, ecx
  32. jz @tr_end
  33. mul ecx
  34. dec ecx
  35. jnz @loop
  36. jmp @tr_end
  37. @is_0:
  38. mov eax, 1
  39. @tr_end:
  40. ret