]> git.sur5r.net Git - cc65/commitdiff
save 2 bytes -- patch by Uz
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Nov 2009 18:08:56 +0000 (18:08 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 25 Nov 2009 18:08:56 +0000 (18:08 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4491 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/ucase_fn.s

index df87ccf719c55d6b3de6ebb0490353005ee6160a..89730310fe208768b859db286b3102a3b229ce95 100644 (file)
@@ -64,8 +64,7 @@ toolong:sec                   ; indicate error
        rts
 
 str_end:iny                    ; room for terminating zero
-       cpy     #128            ; we only can handle lenght < 128
-       bcs     toolong
+       bmi     toolong         ; we only can handle lenght < 128
        sty     tmp3            ; save size
        jsr     subysp          ; make room on the stack