comparison 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
comparison
equal deleted inserted replaced
2782:aaba193af04f 2783:03f26e88b809
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 section .text
17
18 PUTY:
19 pshs a
20 lda #1 stn out
21 lbsr FPUTY
22 puls a,pc
23
24 endsect