s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 332

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
6 C COMPILER
6.4 Compiler Output
This section explains the assembly sources output by the xgcc C compiler and the registers used by the xgcc.
6.4.1 Output Contents
After compiling C sources, the xgcc C compiler outputs the following contents:
• S1C17 Core instruction set mnemonics
• Extended instruction mnemonics
• Assembler directives
All but the basic instructions are output using extended instructions.
Since the system control instructions cannot be expressed in the C source, use in-line assemble by asm or an
assembly source file to process them.
Example: asm("halt");
Assembler directives are output for section and data definitions.
The following describes the sections where instructions and data are set.
Instructions
Constants
Global and static variables with initial values
Global and static variables without initial values
For all symbols including function names and labels, symbol information by the .stab assembler directive is
inserted (when the -gstabs option is specified).
6-6
All instructions are located in the .text section.
Constants are located in the .rodata section.
Example: const int i=1;
These variables are located in the .data section.
Example: int i=1;
These variables are located in the .bss section.
Example: int
i;
i:
i:
i:
.global
.section
.align
.type
.size
.long
.global
.section
.align
.type
.size
.long
.global
.section
.align
.type
.size
.zero
EPSON
i
.rodata
2
i,@object
i,4
1
i
.data
2
i,@object
i,4
1
i
.bss
2
i,@object
i,4
4
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
S5U1C17001C MANUAL

Related parts for s5u1c17001c