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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2474
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
1 ***************************************
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
2
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
3 * Subroutine to save word in Y to file
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
4
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
5 * OTHER MODULES NEEDED: none
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
6
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
7 * ENTRY: A=path
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
8 * Y=value to save
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
9
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
10 * EXIT: CC carry set if error (from I$Write)
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
11 * B error code if any
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
12
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
13 nam Save word to file
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
14 ttl Assembler Library Module
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
15
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
16
2782
aaba193af04f Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents: 2474
diff changeset
17 section .text
2474
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
18
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
19 FPUTY:
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
20 pshs x,y
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
21 ldy #2 number of chars to write
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
22 leax 2,s point X at value
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
23 os9 I$Write
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
24 puls x,y,pc
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
25
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
26 endsect
7d70b7e1cb21 Moved net and alib files into here
boisy
parents:
diff changeset
27