Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/fputy.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 |
rev | line source |
---|---|
2474 | 1 *************************************** |
2 | |
3 * Subroutine to save word in Y to file | |
4 | |
5 * OTHER MODULES NEEDED: none | |
6 | |
7 * ENTRY: A=path | |
8 * Y=value to save | |
9 | |
10 * EXIT: CC carry set if error (from I$Write) | |
11 * B error code if any | |
12 | |
13 nam Save word to file | |
14 ttl Assembler Library Module | |
15 | |
16 | |
17 psect FPUTY,0,0,0,0,0 | |
18 | |
19 FPUTY: | |
20 pshs x,y | |
21 ldy #2 number of chars to write | |
22 leax 2,s point X at value | |
23 os9 I$Write | |
24 puls x,y,pc | |
25 | |
26 endsect | |
27 |