1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-30 08:57:49 +00:00
cc65/libsrc/common/isupper.s

16 lines
218 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 02.06.1998
;
; int isupper (int c);
;
.export _isupper
.import __ctype
_isupper:
tay
lda __ctype,y ; Get character classification
and #$02 ; Mask upper char bit
rts