mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +00:00
17 lines
216 B
ArmAsm
17 lines
216 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 02.06.1998
|
||
|
;
|
||
|
; int iscntrl (int c);
|
||
|
;
|
||
|
|
||
|
.export _iscntrl
|
||
|
.import __ctype
|
||
|
|
||
|
_iscntrl:
|
||
|
tay
|
||
|
lda __ctype,y ; Get character classification
|
||
|
and #$10 ; Mask control character bit
|
||
|
rts
|
||
|
|
||
|
|