SHARE
TWEET

Untitled

a guest Jun 26th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Label Function
  2. Register1 <- Pop 64-bit off stack
  3. Register2 <- Pop 64-bit off stack
  4. Register3 <- Register1 + Register2
  5. push Register3 on stack  // return
  6. Goto -> Pop address off stack
  7.  
  8. // Function(0, 5) this is what happens when the function is called
  9. Push address on stack
  10. Push 64-bit 0 on stack  
  11. Push 64-bit 5 on stack
  12. Goto Function
  13. Pop stack (address)
  14. Pop stack into register 1
  15.  
  16. // this is just the function being called with various values
  17. Register2 <- Function(0,5)
  18. Register3 <- Function(1,5)
  19. Register4 <- Function(7,5)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top