1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/libsrc/common/isblank.s

18 lines
240 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 02.06.1998
;
; int isblank (int c);
;
; cc65 (and GNU) extension.
;
.export _isblank
.import __ctype
_isblank:
tay
lda __ctype,y ; Get character classification
and #$80 ; Mask blank bit
rts