]> git.sur5r.net Git - cc65/commitdiff
Small space optimization in libsrc/atari/is_cmdline_dos.s.
authorChristian Groessler <chris@groessler.org>
Tue, 24 Jan 2017 19:21:56 +0000 (20:21 +0100)
committerChristian Groessler <chris@groessler.org>
Tue, 24 Jan 2017 19:21:56 +0000 (20:21 +0100)
libsrc/atari/is_cmdline_dos.s

index 71b35fbadd91f930f399e7044ef427a56129dd2a..eb474dbfbbb80359c06d9ef92601a69d78a65016 100644 (file)
         .include "atari.inc"
 
 __is_cmdline_dos:
-        ldx     #0
         lda     __dos_type
         cmp     #MAX_DOS_WITH_CMDLINE + 1
-        txa
+        lda     #0
         rol     a
         eor     #$01
         rts