Advertisement
math230

Loading bytes using LW with odd offset

Jul 20th, 2020
4,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MPASM 0.19 KB | None | 0 0
  1. #Loading bytes using LW with odd offset
  2. .data
  3.     .space 1  #0x10010000
  4. A:  .byte  1,2,3,4,5,6,7  
  5.  
  6.  
  7. .text
  8.     la $t1,A
  9.     lw $t2, 3($t1)     # (3+$t1) must be multiple of 4; a word boundary
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement