Advertisement
Guest User

Untitled

a guest
May 6th, 2019
202
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. start:
  12.     BIPUSH 5
  13.     ISTORE m1
  14.     BIPUSH 10
  15.     ISTORE m2
  16.     BIPUSH 10
  17.     ISTORE g
  18.     LDCW OBJREF      
  19.     BIPUSH 0x5
  20.     BIPUSH 0x5
  21.     INVOKEVIRTUAL mul
  22.     ISTORE r         
  23.     LDCW OBJREF      
  24.     ILOAD m1
  25.     ILOAD m2
  26.     INVOKEVIRTUAL mul
  27.     ISTORE m3
  28.     LDCW OBJREF      
  29.     ILOAD m3
  30.     ILOAD g
  31.     INVOKEVIRTUAL mul
  32.     ISTORE half      
  33.     LDCW OBJREF      
  34.     ILOAD half
  35.     ILOAD r
  36.     INVOKEVIRTUAL div
  37.     ISTORE  f
  38. halt
  39. .end-main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement