Mercurial > hg > Members > kono > nitros9-code
view lib/alib/putc.as @ 3226:9749d0dfc4a2
Changed a puls PC to rts to save cycles
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Sat, 20 Jan 2018 19:32:22 -0600 |
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