mirror of
https://github.com/cc65/cc65.git
synced 2024-10-01 00:57:11 +00:00
16 lines
205 B
ArmAsm
16 lines
205 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 02.06.1998
|
||
|
;
|
||
|
; int isalpha (int c);
|
||
|
;
|
||
|
|
||
|
.export _isalpha
|
||
|
.import __ctype
|
||
|
|
||
|
_isalpha:
|
||
|
tay
|
||
|
lda __ctype,y ; Get character classification
|
||
|
and #$03 ; Mask character bits
|
||
|
rts
|
||
|
|