]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/ldaxsp.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / ldaxsp.s
index b72e237c51e7e972af29544e4d4179fcab344eb5..0f1a2c8d30e17ac4dde4dfbc7a39cb7265c182e0 100644 (file)
@@ -14,15 +14,7 @@ ldax0sp:
 ldaxysp:
        lda     (sp),y          ; get high byte
        tax                     ; and save it
-               bne     L1              ; Try to generate FAST code
        dey                     ; point to lo byte
        lda     (sp),y          ; load low byte
        rts
 
-L1:    php                     ; Save Z flag
-       dey
-       lda     (sp),y
-       plp
-       rts
-
-