Advertisement
Guest User

Untitled

a guest
Nov 1st, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 0.34 KB | None | 0 0
  1. everyday795:
  2.  
  3.     push ebp
  4.     mov ebp, esp
  5.  
  6.     sub esp, 4
  7.  
  8.     mov edx, ebp
  9.     sub edx, 4
  10.  
  11.     push edx
  12.     mov edx, offset scanf_format
  13.     push edx
  14.     call scanf
  15.     add esp, 8
  16.  
  17.     mov edx, [ebp - 4]
  18.     imul edx, [ebp + 8]
  19.     add edx, [ebp + 12]
  20.  
  21.     push edx
  22.     mov edx, offset printf_format
  23.     push edx
  24.     call printf
  25.     add esp, 8
  26.  
  27.     mov esp, ebp
  28.  
  29.     pop ebp
  30.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement