You are on page 1of 1

C Compiler Reference Manual

#USE STANDARD_IO
Syntax:

#USE STANDARD_IO (port)

Elements:

port may be A-G

Purpose:

This directive affects how the compiler will generate code for
input and output instructions that follow. This directive takes
effect until another #use xxx_io directive is encountered.
The standard method of doing I/O will cause the compiler to
generate code to make an I/O pin either input or output every
time it is used. On the 5X processors this requires one byte
of RAM for every port set to standard I/O.
Standard_io is the default I/O method for all ports.

Examples:

#use standard_io(A)

Example Files:

ex_cust.c

Also See:

#use fast_io, #use fixed_io

#ZERO_RAM
Syntax:
Elements:

#zero_ram
None

Purpose:

This directive zero's out all of the internal registers that may
be used to hold variables before program execution begins.

Examples:

#zero_ram
void main() {
}

Example Files:
Also See:

ex_cust.c
None

72

You might also like