Preprocessor Directives - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

4 SOUrCE filES

4.3.4 Preprocessor Directives

The cpp C preprocessor directives can be used in assembly source files.
The principal directives are as follows:
#include
#define
#if–#else–#endif
Examples: #include
#define
#ifdef
#else
#endif
Refer to the gnu C preprocessor manual for details of the preprocessor directives.
note: The sources that contain preprocessor directives need to be processed by the preprocessor (use
the xgcc options -c and -xassembler-with-cpp), and cannot be entered directly into the as
assembler. (Direct entry into the assembler will result an error.)
4-12
Insertion of file
Definition of character strings and numbers
Conditional assembly
"define.h"
NULL
0
TYPE1
ld
%r0,0
ld
%r0,-1
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S5U1C17001C and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents