Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/putspace.as @ 3278:ea1afb494127
defs: Add Bt.Sec for atari and corsham
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Sat, 07 Mar 2020 23:52:40 +0100 |
parents | 03f26e88b809 |
children |
rev | line source |
---|---|
2474 | 1 **************************************** |
2 | |
3 * Subroutine to print a space to std. out | |
4 | |
5 * OTHER MODULES REQUIRED: FPUTSPACE | |
6 | |
7 * ENTRY: none | |
8 | |
9 * EXIT: CC carry set if error (from I$WritLn) | |
10 * B error code if any. | |
11 | |
12 nam Output One Space Char. 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 PUTSPACE: | |
19 pshs a | |
20 lda #1 | |
21 lbsr FPUTSPACE | |
22 puls a,pc | |
23 | |
24 endsect |