Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/is_alpha.a @ 2727:f4870404ccc9 lwtools-port
Adjusted makefile to populate inetd.conf with port number for telnet
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Tue, 31 Jul 2012 13:56:20 -0500 |
parents | 7d70b7e1cb21 |
children | aaba193af04f |
rev | line source |
---|---|
2474 | 1 ***************************************** |
2 | |
3 * See if character in "B" is a alpha letter a..z or A..Z | |
4 | |
5 * OTHER MODULES NEEDED: IS_LOWER, IS_UPPER | |
6 | |
7 * ENTRY: B=character to test | |
8 | |
9 * EXIT: CC zero=1 if alpha, 0 if not | |
10 | |
11 nam Is Char Alphabetic? | |
12 ttl Assembler Library Module | |
13 | |
14 | |
15 psect IS_ALPHA,0,0,0,0,0 | |
16 | |
17 | |
18 IS_ALPHA: | |
19 lbsr IS_UPPER | |
20 BEQ yes uppercase letters are alpha | |
21 lbsr IS_LOWER last chance to set flags. | |
22 | |
23 yes | |
24 rts | |
25 | |
26 | |
27 endsect | |
28 |