view lib/alib/putc.as @ 3024:8647c25ba101

cobbler: Handle disks with fragmented OS9Boot files
author Robert Gault <robert.gault@att.net>
date Thu, 11 Dec 2014 20:11:12 +0100
parents 03f26e88b809
children
line wrap: on
line source

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

* Put single character to standard out.

* OTHER MODULES NEEDED: FPUTC

* ENTRY: B=character to print

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

 nam Print Char to Std. Out
 ttl Assembler Library Module


 section .text

PUTC:
 pshs a
 lda #1 stn out
 lbsr FPUTC
 puls a,pc

 endsect