]> git.sur5r.net Git - cc65/commitdiff
Removed initialization of the stack from none.lib
authorbauen1 <j2468h@gmail.com>
Thu, 4 Jan 2018 12:54:00 +0000 (13:54 +0100)
committerbauen1 <j2468h@gmail.com>
Thu, 4 Jan 2018 12:54:00 +0000 (13:54 +0100)
libsrc/none/crt0.s

index fb26fb2afaa88e2ff6c6e3e578e060104830aca7..7858ad839e8a69ea17a4a68e81c10902eb4f6a42 100644 (file)
@@ -9,9 +9,6 @@
 
        .segment "STARTUP"
 
-       cld
-       ldx #$FF
-       txs
        lda #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
        ldx #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
        sta sp
@@ -22,4 +19,4 @@
 _exit: pha
        jsr donelib
        pla
-       brk
+       rts