Mercurial > hg > Members > kono > nitros9-code
annotate lib/alib/gety.as @ 2831:7c8442122235 lwtools-port
fix level 1 builds
author | lfantoniosi |
---|---|
date | Tue, 18 Jun 2013 21:41:46 -0400 |
parents | 03f26e88b809 |
children |
rev | line source |
---|---|
2474 | 1 *************************************** |
2 | |
3 * Subroutine to input a word in Y | |
4 | |
5 * OTHER MODULES NEEDED: FGETY | |
6 | |
7 * ENTRY: none | |
8 | |
9 | |
10 * EXIT: Y value | |
11 * CC carry set if error (from I$Read) | |
12 * B error code if any | |
13 | |
14 nam Input Word for stdin | |
15 ttl Assembler Library Module | |
16 | |
17 | |
2782
aaba193af04f
Updated code to use lwasm/lwlink
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2474
diff
changeset
|
18 section .text |
2474 | 19 |
20 GETY: | |
21 pshs a | |
22 clra std in | |
23 lbsr FGETY | |
24 puls a,pc | |
25 | |
26 endsect |