1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +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