view lib/alib/puty.a @ 2521:cb2d70b917ea

Added echo
author boisy
date Wed, 07 Apr 2010 14:10:22 +0000
parents 7d70b7e1cb21
children aaba193af04f
line wrap: on
line source

**********************************

* Put the word in Y to std out

* OTHER MODULES NEEDED: FPUTY

* ENTRY: Y=value to save

* EXIT: CC carry set if error
*       B=error code if any

 nam Save word to std out
 ttl Assembler Library Module


 psect PUTY,0,0,0,0,0

PUTY:
 pshs a
 lda #1 stn out
 bsr FPUTY
 puls a,pc

 endsect