Mercurial > hg > Members > kono > nitros9-code
diff lib/alib/puts.a @ 2474:7d70b7e1cb21
Moved net and alib files into here
author | boisy |
---|---|
date | Tue, 30 Mar 2010 02:44:42 +0000 |
parents | |
children | aaba193af04f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/alib/puts.a Tue Mar 30 02:44:42 2010 +0000 @@ -0,0 +1,26 @@ +*********************************** + +* Print a null terminated string to standard out. + +* OTHER MODULES NEEDED: fputs + +* ENTRY: X=string to print + +* EXIT: CC carry set if error +* B error code (if any) + + + nam Print String to Std. Out + ttl Assembler Library Module + + + psect PUTS,0,0,0,0,0 + +PUTS: + pshs a + lda #1 std out + lbsr FPUTS + puls a,pc + + endsect +