Advertisement
Guest User

Untitled

a guest
May 6th, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .main
  2. .var
  3. m1                   
  4. m2                   
  5. m3                   
  6. g                  
  7. r                    
  8. half             
  9. f                
  10. .end-var
  11.  
  12. start:
  13.     BIPUSH 5
  14.     ISTORE m1
  15.     BIPUSH 10
  16.     ISTORE m2
  17.     BIPUSH 10
  18.     ISTORE g
  19.  
  20.     LDCW OBJREF      
  21.     BIPUSH 0x5
  22.     BIPUSH 0x5
  23.     INVOKEVIRTUAL mul
  24.     ISTORE r         
  25.     LDCW OBJREF      
  26.     ILOAD m1
  27.     ILOAD m2
  28.    
  29.     INVOKEVIRTUAL mul
  30.     ISTORE m3
  31.    
  32.     LDCW OBJREF      
  33.     ILOAD m3
  34.     ILOAD g
  35.     INVOKEVIRTUAL mul
  36.     ISTORE half      
  37.    
  38.     LDCW OBJREF      
  39.     ILOAD half
  40.     ILOAD r
  41.     INVOKEVIRTUAL div
  42.     ISTORE  f
  43. halt
  44. .end-main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement