# load.s # MIPS program written to illustrate signed and unsigned load # Step through the lb and the lbu to see the difference in # how each one executes # Susan Haller # 2/17/03 .data a: .byte 0x80 .text .globl main main: la $t0, a # t0 = base address of a lb $a0, 0($t0) # a0 = 00000080 or ffffff80? lbu $a0, 0($t0) # a0 = 00000080 or ffffff80? addi $v0, $zero, 1 # print( a0 ) syscall li $v0, 10 syscall # system call(exit)