Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/puty.a @ 2474:7d70b7e1cb21
Moved net and alib files into here
author | boisy |
---|---|
date | Tue, 30 Mar 2010 02:44:42 +0000 |
parents | |
children | aaba193af04f |
rev | line source |
---|---|
2474 | 1 ********************************** |
2 | |
3 * Put the word in Y to std out | |
4 | |
5 * OTHER MODULES NEEDED: FPUTY | |
6 | |
7 * ENTRY: Y=value to save | |
8 | |
9 * EXIT: CC carry set if error | |
10 * B=error code if any | |
11 | |
12 nam Save word to std out | |
13 ttl Assembler Library Module | |
14 | |
15 | |
16 psect PUTY,0,0,0,0,0 | |
17 | |
18 PUTY: | |
19 pshs a | |
20 lda #1 stn out | |
21 bsr FPUTY | |
22 puls a,pc | |
23 | |
24 endsect |