198
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Microengine C Compiler
5.4
Compiler Steps
The .list file contains three types of elements: microwords, directives, and comments. Microwords
consist of an opcode and arguments and generate a microword in the .list file. Directives pass
information to the Linker and generally do not generate microwords. Comments are ignored in the
assembly process.
The Compiler performs the following functions in converting the .c file to a .list file:
•
Accepts standard C with __
declspec()
for specifying memory segments and properties and
register usage {signal xfer nearest-neighbor remote}.
•
Accepts restricted assembly via __
asm{ }.
•
Optimizes program in “whole program mode” where each function is analyzed and ailored
according to its usage.
•
Generates .list file for execution on single MicroEngine.
Figure 66. Compilation Steps
A9490-01
source files
(.c, .obj)
Intel®
IXP2000
Code Generator
C Front-End
Compiler
Driver
intermediate
files (.obj)
Linker
Loader
Microengine
output file (.uof)
Microengine
Optimizer
mcpcom
uccl
intermediate
file (.list)
intermediate
file (.uc)
Compiler
Options