.data n1: .word 17 n2: .word 23 result: .space 4 .text .global main main: lw r1, n1 ; load the first number to r1 lw r2, n2 ; load the second number to r2 add r3, r2, r1 ; add r2 and r1 to r3 sw result, r3 ; store r3 in result exit: trap 0 ; quit