.data # just add some valid stuff before the bytes o: .word 0x10,0x20,0x30,0x40 # this is what we'll operate on x: .byte 0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8 .text la $t0,x lw $t1,0($t0) # aligned #lw $t1,1($t0) # unaligned lw $t1,-12($t0) # aligned lhu $t1,0($t0) # aligned #lhu $t1,1($t0) # unaligned lhu $t1,2($t0) # aligned #lhu $t1,3($t0) # unaligned lbu $t1,3($t0) # aligned (always)