Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Intro to using SW to write to memory
- .data
- #0x10010000
- A: .word 2,1,0,3,4,5,6,7,8,9
- .text
- la $t1,A
- lw $t2, 36($t1) #t2 <- A[8]
- sw $t2, 0($t1) #t2 -> A[0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement