1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00
cc65/libsrc/common/isalpha.s

16 lines
205 B
ArmAsm
Raw Normal View History

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