mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
16 lines
218 B
ArmAsm
16 lines
218 B
ArmAsm
|
;
|
||
|
; 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
|
||
|
|