1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-08 04:30:15 +00:00
cc65/libsrc/common/isspace.s

16 lines
221 B
ArmAsm
Raw Normal View History

;
; 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