]> git.sur5r.net Git - cc65/commitdiff
crt0.s ("none" target): fix initialization of sp variable.
authorChristian Groessler <chris@groessler.org>
Thu, 11 Jan 2018 12:15:19 +0000 (13:15 +0100)
committerChristian Groessler <chris@groessler.org>
Thu, 11 Jan 2018 12:15:19 +0000 (13:15 +0100)
libsrc/none/crt0.s

index 288d0dc29596906f5255ac817745672b2647b8e1..596fbcd4681afcf06ea71f39ad2bebf13228b314 100644 (file)
@@ -9,7 +9,7 @@
        .segment "STARTUP"
 
        lda #<__STACKSTART__
-       lda #>__STACKSTART__
+       ldx #>__STACKSTART__
        sta sp
        stx sp+1
        jsr zerobss