mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
typo in the doc corrected, tabs adjusted
git-svn-id: svn://svn.cc65.org/cc65/trunk@5964 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9fce84c722
commit
deb18b8e1e
@ -1694,7 +1694,7 @@ either a string or an expression.
|
|||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
.struct Point ; Struct size = 4
|
.struct Point ; Struct size = 4
|
||||||
xcoord .word
|
xcoord .word
|
||||||
xcoord .word
|
ycoord .word
|
||||||
.endstruct
|
.endstruct
|
||||||
|
|
||||||
P: .tag Point ; Declare a point
|
P: .tag Point ; Declare a point
|
||||||
|
@ -12,7 +12,7 @@ _isalpha:
|
|||||||
bne @L1 ; Jump if no
|
bne @L1 ; Jump if no
|
||||||
tay
|
tay
|
||||||
lda __ctype,y ; Get character classification
|
lda __ctype,y ; Get character classification
|
||||||
and #CT_ALPHA ; Mask character bits
|
and #CT_ALPHA ; Mask character bits
|
||||||
rts
|
rts
|
||||||
|
|
||||||
@L1: lda #$00 ; Return false
|
@L1: lda #$00 ; Return false
|
||||||
|
@ -12,7 +12,7 @@ _isdigit:
|
|||||||
bne @L1 ; Jump if no
|
bne @L1 ; Jump if no
|
||||||
tay
|
tay
|
||||||
lda __ctype,y ; Get character classification
|
lda __ctype,y ; Get character classification
|
||||||
and #CT_DIGIT ; Mask digit bit
|
and #CT_DIGIT ; Mask digit bit
|
||||||
rts
|
rts
|
||||||
|
|
||||||
@L1: lda #$00 ; Return false
|
@L1: lda #$00 ; Return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user