From 4ee7121ba2aeccc9c3cced83825154fbce5ba3fa Mon Sep 17 00:00:00 2001 From: cpg Date: Wed, 18 Nov 2009 22:16:13 +0000 Subject: [PATCH] small space optimization -- 3 bytes reduced git-svn-id: svn://svn.cc65.org/cc65/trunk@4470 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/fdtable.s | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.5