Table of Contents
Previous topic Next topic
COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->putch()
Summary
#include "conio.h"
int putch(ch); | Write a character to console |
int ch; | Character to be output |
|
Description
This function outputs the character to the console. This function is implemention specific and will need to be created to suit your target system. The version included in the library consists of the following assembler code:
* The character to be output is passed to this
* routine on the stack
xdef _putch
section __CODE,C
_putch
move.b 7(A7),D0
trap #11 Call monitor OUTCH command
dc.w 1 Output character in D0.B
rts
Return Value
There is no return value.