]> git.sur5r.net Git - cc65/blobdiff - libsrc/c64/crt0.s
Cleaned up C64 linker configs.
[cc65] / libsrc / c64 / crt0.s
index c8a7386cb8b6fd0ce404eb1ed31af70833c835af..7bd294ca75056fa550195bf6d1596dbd5c289d77 100644 (file)
@@ -93,8 +93,8 @@ L1:     lda     sp,x
 
 ; Set up the stack.
 
-        lda     #<(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
-        ldx     #>(__MAIN_START__ + __MAIN_SIZE__ + __STACKSIZE__)
+        lda     #<(__MAIN_START__ + __MAIN_SIZE__)
+        ldx     #>(__MAIN_START__ + __MAIN_SIZE__)
         sta     sp
         stx     sp+1            ; Set argument stack ptr