################################################################### # New Prog # Author: Susan Lincke ################################################################### .data A4321: .word 0x4321 A1234: .word 0x1234 .globl main .text main: lw $t1,A4321 # A4321 = 4321 lw $t2,A1234 # A1234 = 1234 or $t3,$t1,$t2 # orOut = A4321 | A1234 and $t4,$t1,$t2 # andOut = A4321 & A1234 xor $t5,$t1,$t2 # xorOut = A4321 xor A1234 not $t6,$t1 # notOut = !A4321 li $v0,10 # exit syscall