From 4759d3956e50d18b85c1a650777d0b6bd0bda90f Mon Sep 17 00:00:00 2001 From: bauen1 Date: Thu, 4 Jan 2018 13:54:00 +0100 Subject: [PATCH] Removed initialization of the stack from none.lib --- libsrc/none/crt0.s | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libsrc/none/crt0.s b/libsrc/none/crt0.s index fb26fb2af..7858ad839 100644 --- a/libsrc/none/crt0.s +++ b/libsrc/none/crt0.s @@ -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 -- 2.39.5