Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/fputy.as @ 3100:ed4c9b04f74e
makefile: Remove hg update commands
We don't want makefiles to play with mercurial commands.
Particularly not when we are about to push a snapshot.
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sun, 28 Feb 2016 21:37:42 +0100 |
parents | 03f26e88b809 |
children |
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 | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
17 section .text |
2474 | 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 |