annotate lib/alib/is_termin.a @ 2719:2fda91bdc268 lwtools-port

added httpd
author Boisy Pitre <boisy.pitre@nuance.com>
date Thu, 26 Jul 2012 11:01:43 -0500
parents 7d70b7e1cb21
children aaba193af04f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2474
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
1 *****************************************
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
2
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
3 * See if character in "B" is a valid string terminator.
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
4
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
5 * NOTE: This module is used by HEX_BIN, DEC_BIN, etc. It permits
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
6 * SPACE, CR, COMMA and NULL to be used as a delimiter -- useful
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
7 * for paramater and list processing....
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
8
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
9 * OTHER MODULES NEEDED: none
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
10
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
11 * ENTRY: B=character to test
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
12
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
13 * EXIT: CC zero=1 if space, 0 if not
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
14
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
15
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
16 nam Is Char a Terminator?
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
17 ttl Assembler Library Module
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
18
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
19
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
20 psect IS_TERMIN,0,0,0,0,0
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
21
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
22
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
23 IS_TERMIN:
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
24 tstb null?
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
25 beq exit
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
26 cmpb #$20 space
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
27 beq exit
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
28 cmpb #$0d carriage return
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
29 beq exit
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
30 cmpb #', comma?
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
31
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
32 exit
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
33 rts
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
34
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
35 endsect
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
36