From: Christian Groessler Date: Thu, 11 Jan 2018 12:15:19 +0000 (+0100) Subject: crt0.s ("none" target): fix initialization of sp variable. X-Git-Tag: V2.17~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f0708db792504dc0639d170a51d72b9379f64624;p=cc65 crt0.s ("none" target): fix initialization of sp variable. --- 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