From: cuz Date: Mon, 26 Mar 2001 14:41:45 +0000 (+0000) Subject: Recode decsp8 X-Git-Tag: V2.12.0~2892 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=092c0a26200d9034b431f8c99967d884d4ab71b1;p=cc65 Recode decsp8 git-svn-id: svn://svn.cc65.org/cc65/trunk@670 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/decsp8.s b/libsrc/runtime/decsp8.s index 54192fd51..0c0c8fee9 100644 --- a/libsrc/runtime/decsp8.s +++ b/libsrc/runtime/decsp8.s @@ -5,16 +5,23 @@ ; .export decsp8 - .import subysp + .importzp sp .proc decsp8 - ldy #8 - jmp subysp + lda sp + sec + sbc #8 + sta sp + bcc @L1 + rts + +@L1: dec sp+1 + rts .endproc - +