From ad273126ddaae040a1d22f287800a3d45f876941 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Wed, 13 Jul 2022 18:27:24 -0500 Subject: [PATCH] Remove unnecessary instructions. --- fcntl.asm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fcntl.asm b/fcntl.asm index 4a06612..6d0750b 100644 --- a/fcntl.asm +++ b/fcntl.asm @@ -148,7 +148,6 @@ err equ 1 error return code stz err err = 0 {no error} lda filds error if there are too many open files - bmi lb2 cmp #OPEN_MAX bge lb2 asl A get the file reference number @@ -280,7 +279,6 @@ flags equ 5 file flags bra lb7 lb1 lda filds error if there are too many open files - bmi lb2 cmp #OPEN_MAX bge lb2 asl A get the file reference number @@ -297,7 +295,6 @@ lb3 sta refnum sta flags lda arg find a new filds - bmi lb5 cmp #OPEN_MAX bge lb5 asl A @@ -376,7 +373,6 @@ mark equ 1 new file mark sta mark sta mark+2 lda filds get the file refnum - bmi lb1 cmp #OPEN_MAX bge lb1 asl A @@ -634,7 +630,6 @@ err equ 1 error return code phk plb lda filds error if the file has not been opened - bmi lb0 cmp #OPEN_MAX bge lb0 asl A get the file reference number @@ -797,7 +792,6 @@ nbuff equ 3 new buffer pointer phk plb lda filds error if the file has not been opened - bmi lb0 cmp #OPEN_MAX bge lb0 asl A get the file reference number