From f0708db792504dc0639d170a51d72b9379f64624 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Thu, 11 Jan 2018 13:15:19 +0100 Subject: [PATCH] crt0.s ("none" target): fix initialization of sp variable. --- libsrc/none/crt0.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/none/crt0.s b/libsrc/none/crt0.s index 288d0dc29..596fbcd46 100644 --- a/libsrc/none/crt0.s +++ b/libsrc/none/crt0.s @@ -9,7 +9,7 @@ .segment "STARTUP" lda #<__STACKSTART__ - lda #>__STACKSTART__ + ldx #>__STACKSTART__ sta sp stx sp+1 jsr zerobss -- 2.39.5