Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/puty.as @ 2783:03f26e88b809 lwtools-port
Renamed files and setup for lwasm/lwlink work
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Sat, 26 Jan 2013 17:18:24 -0600 |
parents | lib/alib/puty.a@aaba193af04f |
children |
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 | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
16 section .text |
2474 | 17 |
18 PUTY: | |
19 pshs a | |
20 lda #1 stn out | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
21 lbsr FPUTY |
2474 | 22 puls a,pc |
23 | |
24 endsect |