From: cpg Date: Wed, 18 Nov 2009 22:16:13 +0000 (+0000) Subject: small space optimization -- 3 bytes reduced X-Git-Tag: V2.13.1~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ee7121ba2aeccc9c3cced83825154fbce5ba3fa;p=cc65 small space optimization -- 3 bytes reduced git-svn-id: svn://svn.cc65.org/cc65/trunk@4470 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/fdtable.s b/libsrc/atari/fdtable.s index 56dbff01a..ecc7c451f 100644 --- a/libsrc/atari/fdtable.s +++ b/libsrc/atari/fdtable.s @@ -291,7 +291,7 @@ l2: sta fd_table+ft_dev,x ; set device sta fd_table+ft_flag,x lda tmp2 jsr fdt_to_fdi ; get new index - bcs noslot ; no one available +noslot1:bcs noslot ; no one available (noslot1: helper label for branch out of range) ;cmp #$ff ; no one available ;beq noslot ;@@@ cleanup needed sta tmp2 ; return index @@ -336,9 +336,6 @@ srch2: txa ; not found, open new iocb jmp do_open -; helper for branch out of range -noslot1:jmp noslot - ; found device in table, check device number (e.g R0 - R3) fnddev: lda fd_table+ft_flag,x and #7