Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. .386
  2. .model flat, stdcall
  3. .stack 4096
  4. ExitProcess PROTO, dwExitCode: DWORD
  5.  
  6. .data
  7.  
  8. .code
  9. main PROC
  10. mov eax, 1h
  11. mov ebx, 90h
  12. mov ecx, 15h
  13. mov edx, 50h
  14.  
  15. L0:
  16. cmp eax, ebx
  17. jl L1
  18. push ebx
  19. mov ebx, eax
  20. pop eax
  21. L1:
  22. cmp eax, ecx
  23. jl L2
  24. push eax
  25. mov eax, ecx
  26. pop ecx
  27. L2:
  28. cmp eax, edx
  29. jl L3
  30. push eax
  31. mov eax, edx
  32. pop edx
  33. L3:
  34. cmp ebx, ecx
  35. jl L4
  36. push ebx
  37. mov ebx, ecx
  38. pop ecx
  39. L4:
  40. cmp ebx, edx
  41. jl L5
  42. push ebx
  43. mov ebx, edx
  44. pop edx
  45. L5:
  46. cmp ecx, edx
  47. jl L6
  48. push ecx
  49. mov ecx, edx
  50. pop edx
  51. L6:
  52. INVOKE ExitProcess, 0
  53. main ENDP
  54. END main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement