MIPS Assembly Alignment Align n

Taken directly from MARS helping tooltips: Align next data item on specified byte boundary (0=byte, 1=halfword, 2=word, 3=double) Consider this code la $t0, array .data .space 3 array: .space 12 This is assembled into lui $at, 0x1001 ori $t0, $at, 0x0003 #$t0 = 0x10010003 showing that array is at address 0x10010003. Using an .align directive: … Read more