1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
.section .text .globl _start _start: addi t0, zero, 3 addi t1, zero, 5 add t2, t0, t1 halt_loop: j halt_loop .section .data .section .bss .section .stack .space 0x1000 # Allocate stack space stack_top: