]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/fread.s
Renamed to '--no-crt-lib'
[cc65] / libsrc / common / fread.s
index b87cc5cb454431473ad5a05c9e907479e4cfddfe..91d69298539d65fa5be31664da0ce46235177740 100644 (file)
 
 ; Read was ok, account for the pushed back character (if any).
 
-@L8:                   
-               add     pb
+@L8:    add     pb
         bcc     @L9
         inx
 
 ; Check for end of file.
 
-@L9:   
-
-               cmp     #0                      ; Zero bytes read?
+@L9:    cmp     #0                      ; Zero bytes read?
         bne     @L10
         cpx     #0
         bne     @L10
 ; Return the number of items successfully read. Since we've checked for
 ; bytes == 0 above, size cannot be zero here, so the division is safe.
 
-@L10:  
-
-
-               jsr     pushax                  ; Push number of bytes read
+@L10:   jsr     pushax                  ; Push number of bytes read
         ldy     #5
         jsr     ldaxysp                 ; Get size
         jsr     tosudivax               ; bytes / size -> a/x