Advertisement
math230

access A[8] using LW and mult by 4 rule

Jul 20th, 2020
2,392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # access A[8] using LW and mult by 4 rule
  2. .data
  3.      #0x10010000
  4. A:  .word  2,1,0,3,4,5,6,7,8,9  
  5.  
  6. .text
  7.     la $t1,A
  8.     lw $t2, 32($t1) #t1 <- A[8]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement