]> git.sur5r.net Git - cc65/commitdiff
Minor optimization
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 16 Jul 2002 09:41:00 +0000 (09:41 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 16 Jul 2002 09:41:00 +0000 (09:41 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1358 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/strerror.s

index 6149c42fc20fddc697268a8845f0f44fe2e2c4f6..79bf7127a1f0a1962f35449c8f0dd33a6f95098e 100644 (file)
@@ -21,8 +21,7 @@ _strerror:
 
 ; Load the pointer to the error message and return
 
-       lda     __sys_errlist+1,y
-       tax
+               ldx     __sys_errlist+1,y
        lda     __sys_errlist,y
        rts