mirror of
https://github.com/cc65/cc65.git
synced 2025-01-08 04:30:15 +00:00
16 lines
221 B
ArmAsm
16 lines
221 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 02.06.1998
|
||
|
;
|
||
|
; int isspace (int c);
|
||
|
;
|
||
|
|
||
|
.export _isspace
|
||
|
.import __ctype
|
||
|
|
||
|
_isspace:
|
||
|
tay
|
||
|
lda __ctype,y ; Get character classification
|
||
|
and #$60 ; Mask space bits
|
||
|
rts
|
||
|
|