Standard I/O Function Interface Putchar - Fujitsu F2MC-16L User Manual

Hide thumbs Also See for F2MC-16L:
Table of Contents

Advertisement

CHAPTER 4 Program Reference for the Standard I/O Library
4.1

Standard I/O Function Interface Putchar

Outputs one character to the standard I/O device.
I Putchar
[Interface]
Format
Parameter
Return parameter ercd
[Description]
Outputs one character to the standard I/O device. The function returns the output character if the
character is output normally. If an error occurs, the function returns EOF (-1).
[Examples]
❍ Assembler interface
❍ C interface
28
int ercd = putchar(int chrcd);
chrcd
:Output character code
:Output character code
EOF
#include scdef.inc
.import _putchar
mov
a, "*"
pushw
a
callp
_putchar
popw
a
#include "scdef.h"
prog()
{
putchar('*');
}
:Normal completion
:Error
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16xlF2mc-16F2mc-16hF2mc-16f

Table of Contents