]> git.sur5r.net Git - cc65/commitdiff
Optimization by replacing absolute with relative jump.
authorStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 28 Feb 2015 19:29:08 +0000 (20:29 +0100)
committerStephan Mühlstrasser <stephan.muehlstrasser@web.de>
Sat, 28 Feb 2015 19:29:08 +0000 (20:29 +0100)
libsrc/osic1p/cgetc.s

index 82857f4c6e111f2f718d5e821330030a64519e53..0c7c69488f3b82b6af42f5ef93c3ac96aec62b83 100644 (file)
@@ -23,7 +23,7 @@ _cgetc:
         tax                     ; save character in X\r
         lda     #$00\r
         sta     CHARBUF         ; empty buffer\r
-        jmp     restorex        ; restore X and return\r
+        beq     restorex        ; restore X and return\r
 nobuffer:\r
         lda     cursor          ; show cursor?\r
         beq     nocursor\r