From: bauen1 Date: Thu, 4 Jan 2018 12:54:00 +0000 (+0100) Subject: Removed initialization of the stack from none.lib X-Git-Tag: V2.17~50^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4759d3956e50d18b85c1a650777d0b6bd0bda90f;p=cc65 Removed initialization of the stack from none.lib --- 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