]> git.sur5r.net Git - cc65/commitdiff
typo in the doc corrected, tabs adjusted
authorsilverdr <silverdr@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 15 Jan 2013 11:30:11 +0000 (11:30 +0000)
committersilverdr <silverdr@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 15 Jan 2013 11:30:11 +0000 (11:30 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5964 b7a2c559-68d2-44c3-8de9-860c34a00d81

doc/ca65.sgml
libsrc/common/isalpha.s
libsrc/common/isdigit.s

index 08469347461ee6ace310441afb5d6a71ac9506a1..00d72db56dadb781cf77d972293d51e2157c494e 100644 (file)
@@ -1694,7 +1694,7 @@ either a string or an expression.
   <tscreen><verb>
         .struct Point                   ; Struct size = 4
                 xcoord  .word
-                xcoord  .word
+                ycoord  .word
         .endstruct
 
         P:      .tag    Point           ; Declare a point
index 624dec682ae5e61faa29e12610c70b4d5c18965b..093b3d006cbb6c104c253f87e2449e9c1d3b1068 100644 (file)
@@ -12,7 +12,7 @@ _isalpha:
        bne     @L1             ; Jump if no
        tay
        lda     __ctype,y       ; Get character classification
-               and     #CT_ALPHA       ; Mask character bits
+       and     #CT_ALPHA       ; Mask character bits
        rts
 
 @L1:   lda     #$00            ; Return false
index 339fef61f9308f39b24bd7ad45e702d84d316d2c..61dd637bbabbda19a7cc29f386ee59519d82dfac 100644 (file)
@@ -12,7 +12,7 @@ _isdigit:
        bne     @L1             ; Jump if no
        tay
        lda     __ctype,y       ; Get character classification
-               and     #CT_DIGIT       ; Mask digit bit
+       and     #CT_DIGIT       ; Mask digit bit
        rts
 
 @L1:   lda     #$00            ; Return false