mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
18 lines
240 B
ArmAsm
18 lines
240 B
ArmAsm
|
;
|
||
|
; 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
|
||
|
|