Advertisement
MaksNew

Untitled

Feb 16th, 2021
1,581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 push strEnterA;;1
  2.                 call [printf]
  3.  
  4.                 push a
  5.                 push formatNum
  6.                 call [scanf] ;
  7.  
  8.  
  9.                 sub [a], 8
  10.  
  11.                 push strEnterB;;2
  12.                 call [printf]
  13.  
  14.                 push b
  15.                 push formatNum
  16.                 call [scanf] ;
  17.  
  18.                 mov eax, [a]
  19.                 mul [b]
  20.  
  21.  
  22.  
  23.                 push [b]
  24.                 push result
  25.                 call[printf]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement