]> git.sur5r.net Git - cc65/commitdiff
a small optimization
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 3 Oct 2001 15:56:42 +0000 (15:56 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 3 Oct 2001 15:56:42 +0000 (15:56 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1007 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/close.s

index c7995e9532750a1165274013882f668c8cbe3f94..77714359358ce234152c092939750a657d871009 100644 (file)
        lda     #CLOSE
        sta     ICCOM,x
        jsr     CIOV
-       bpl     ok
-       jmp     __do_oserror
-
+       bmi     closerr
 ok:    ldx     #0
        stx     __oserror               ; clear system specific error code
        txa
        rts
 
 inverr:        jmp     __inviocb
+closerr:jmp    __do_oserror
 
 .endproc