SHARE
TWEET

Untitled

Horikita_Suzune Jul 7th, 2019 155 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lable "int square(int x)"
  2.         link a6, #0
  3.         movel a6@(8), d1
  4.         mulsl a6@(8), d1
  5.         move d1, d0
  6.         unlk a6
  7.         rts
  8.  
  9. lable "main"
  10. //....
  11. //      x=square(x)
  12. //
  13.         move a6@(-4),sp@-
  14.         jbsr "void square(int value)"
  15.         addqw #4, sp
  16.         movel d0,a6@(-4)
  17. //....
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
 
Top