.data a: .word 6 b: .word 5 m: .word 0 .globl start .ent start start: lw $8, a lw $9, b sw $8, m lw $10, m slt $11, $9, $10 beq $11, $0, L1 sw $9, m j Exit L1: sw $0, m Exit: .end start