Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/is_space.as @ 2852:f2e92661b4c6 lwtools-port
Makefiles: Always use macro for lwar and rm
The LWAR macro is new, rm was still used in one place.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Fri, 12 Jul 2013 22:41:18 +0200 |
parents | 03f26e88b809 |
children |
rev | line source |
---|---|
2474 | 1 ***************************************** |
2 | |
3 * See if character in "B" is a space ($20) | |
4 | |
5 * NOTE: This module is included for completeness only, | |
6 * it is much more efficient to do an inline test. | |
7 | |
8 * OTHER MODULES NEEDED: none | |
9 | |
10 * ENTRY: B=character to test | |
11 | |
12 * EXIT: CC zero=1 if space, 0 if not | |
13 | |
14 | |
15 nam Is Char a Space? | |
16 ttl Assembler Library Module | |
17 | |
18 | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
19 section .text |
2474 | 20 |
21 | |
22 IS_SPACE: | |
23 cmpb #$20 | |
24 rts | |
25 | |
26 endsect | |
27 |