s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 23

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
The development flow is detailed below.
(1) Creating a source program
(2) Creating a make file
(3) Executing make
(4) Debugging
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Create source files using a general-purpose editor. A program can be created in several separate modules
(source files).
Create a make file for automatic processing from compiling or preprocessing to linking. A basic make file
can be created easily on the Work Bench.
Execute the make using the make file created to generate an srf33 object file that can be debugged.
The make sequentially executes the necessary processes from among the ones below.
Compiling (in case of C sources)
Preprocessing by the Preprocessor (in case of assembly sources)
Optimization by the Instruction Extender
Assembling
When a multi-module software program (multiple source files) is developed, all the source files are
subjected to the above processing.
Linking
The srf33 object file that is delivered from the linker should be debugged by the Debugger db33. Using the
S5U1C33104H, S5U1C33000H or Debug Monitor allows the programmer to perform debugging, including
that for the hardware operation. The db33 also provides a simulator mode in which the operations of the
S1C33000 Core CPU and memory models can be simulated on a personal computer.
The C source files are compiled by the C Compiler gcc33. The gcc33 delivers the assembly source
files (.ps) to be entered in the Instruction Extender ext33.
The source files that are created in assembler language are first processed by the Preprocessor pp33.
The pp33 expands the preprocessor instructions into mnemonics that can be assembled with the
Assembler and delivers assembly source files (.ps) to be entered in the Instruction Extender ext33.
The Instruction Extender ext33 expands the extended instructions described in the source file (.ps)
into mnemonics that can be assembled with the Assembler and delivers assembly source files (.ms) to
be entered in the Assembler as33.
Furthermore, the ext33 optimizes the assembly source by decreasing unnecessary immediate
extension instructions (ext).
The absolute addresses of symbols cannot be defined until the linking has finished when developing
the program with multiple modules. The ext33 supports a 2-pass make that optimizes the codes using
the symbol/map files created when linking. When a 2-pass make is specified, the make executes the
ext33 and the following process again after the first linking has finished.
The source files that are delivered from the Instruction Extender ext33 are assembled by the
Assembler as33. The as33 converts the source codes into machine codes and delivers the object file
that can be linked with other modules be registered to libraries.
One or more object files are produced by the assembling. The Linker lk33 bundles those multiple files
into one to create an executable object file mapped on the ROM. The lk33 delivers object files in
srf33 format, which contains necessary information for debugging, along with other information.
EPSON
CHAPTER 3: SOFTWARE DEVELOPMENT PROCEDURES
7

Related parts for s5u1c33000c