Shortened names and adjusted style.

This commit is contained in:
Oliver Schmidt
2020-04-02 22:58:16 +02:00
parent 411fe87f64
commit 0981c020b2
27 changed files with 92 additions and 99 deletions

View File

@@ -8,7 +8,7 @@
.export _atoi, _atol
.import negeax, __ctype
.importzp sreg, ptr1, ptr2, tmp1
.import ctype_preprocessor_no_check
.import ctypemaskdirect
.include "ctype.inc"
;
; Conversion routine (32 bit)
@@ -26,9 +26,7 @@ _atol: sta ptr1 ; store s
; Skip whitespace
L1: lda (ptr1),y
; get character classification
jsr ctype_preprocessor_no_check
jsr ctypemaskdirect ; get character classification
and #CT_SPACE_TAB ; tab or space?
beq L2 ; jump if no
iny