From edf167ff2bd20527641c8033f9d032f029f7abf6 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Mon, 22 Feb 2021 20:34:54 -0800 Subject: [PATCH] Fix initial stack pointer --- tools/crt0.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/crt0.s b/tools/crt0.s index b8da634..67893ae 100644 --- a/tools/crt0.s +++ b/tools/crt0.s @@ -1,7 +1,7 @@ .global _start _start: set sp, 0 -seth sp, 0x01 +seth sp, 0x11 set r2, main nop set r3, 2