]> git.sur5r.net Git - cc65/commitdiff
65c02 optimization
authorizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Dec 2002 03:24:09 +0000 (03:24 +0000)
committerizydorst <izydorst@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Dec 2002 03:24:09 +0000 (03:24 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1840 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/atexit.s

index 05ecfa597b286005072bc920eea9dcaf4ece97fb..c8c14e26885b3abade3ae35498f567f50f04728f 100644 (file)
        sta     jmpvec+1
        sty     exitfunc_index
        jsr     jmpvec                  ; Call the function
+.ifpc02
+       bra     doatexit
+.else
        jmp     doatexit                ; Next one
+.endif
 
 @L9:   rts