SW500010 Microchip Technology, SW500010 Datasheet - Page 116

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
Standard I/O Functions and Serial I/O
3.12.3 Linker-Defined Symbols
The link address of a psect can be obtained from the value of a global symbol with name __Lname
where name is the name of the psect. For example, __Lbss is the low bound of the bss psect. The
highest address of a psect (i.e. the link address plus the size) is symbol __Hname.
3.13 Standard I/O Functions and Serial I/O
A number of the standard I/O functions are provided, specifically those functions intended to read
and write formatted text on standard output and input. A list of the available functions is in Table
3.12. More details of these functions can be found in Appendix A.
functions must be written. Other routines which may be required include getche() and kbhit().
116
printf(const char * s, ...)
sprintf(char * buf, const char * s, ...)
If the psect has different load and link addresses the load start address is specified as __Bname.
Before any characters can be written or read using these functions, the putch() and getch()
Function name
Table 3.12: Supported standard I/O functions
Formatted printing to stdout
Writes formatted text to buf
Purpose
C Language Features

Related parts for SW500010