1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-08 04:30:15 +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