1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-02 21:54:47 +00:00
cc65/libsrc/common/isxdigit.s

16 lines
224 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 02.06.1998
;
; int isxdigit (int c);
;
.export _isxdigit
.import __ctype
_isxdigit:
tay
lda __ctype,y ; Get character classification
and #$08 ; Mask xdigit bit
rts