Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/is_alpha.as @ 3220:9ccec98c9897
Updated IDE Driver makefile so it will have place holders for
dsk, dskclean, and dskcopy so that make does not error out when
chaining into the driver tree to build disk images where applicable.
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Wed, 20 Dec 2017 16:10:50 -0600 |
parents | 03f26e88b809 |
children |
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 | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
15 section .text |
2474 | 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 |