# The Cebollita ISA simulator's loader has set things up so that on entry: # $gp = size of text segment # $sp = text size + data size + heap size + stack size - 4 # $pc = entry point (presumably __start here!) .text .global __start __start: jal main ori $v0, $0, 10 # exit syscall