From 96c67f2e714bcce21abf471abb6cad3a7a758e76 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 30 Sep 2024 18:52:15 -0400 Subject: [PATCH] update runtime to return exit code from main --- lib/runtime.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runtime.asm b/lib/runtime.asm index 8e4034b..974fbe1 100644 --- a/lib/runtime.asm +++ b/lib/runtime.asm @@ -25,6 +25,6 @@ _start: jal main # exit - move $a0, $v0 - li $v0, 1 + move $a0, $v0 + li $v0, 60 syscall