Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/puts.a @ 2639:283433fa565c
Added notes to atari.d
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Tue, 28 Feb 2012 09:26:09 -0600 |
parents | 7d70b7e1cb21 |
children | aaba193af04f |
rev | line source |
---|---|
2474 | 1 *********************************** |
2 | |
3 * Print a null terminated string to standard out. | |
4 | |
5 * OTHER MODULES NEEDED: fputs | |
6 | |
7 * ENTRY: X=string to print | |
8 | |
9 * EXIT: CC carry set if error | |
10 * B error code (if any) | |
11 | |
12 | |
13 nam Print String to Std. Out | |
14 ttl Assembler Library Module | |
15 | |
16 | |
17 psect PUTS,0,0,0,0,0 | |
18 | |
19 PUTS: | |
20 pshs a | |
21 lda #1 std out | |
22 lbsr FPUTS | |
23 puls a,pc | |
24 | |
25 endsect | |
26 |