Language Extensions - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

Language Implementation
index
For information on the
function table, refer to the i960 Processor Assembler User's Guide.
You must associate a single system procedure table index with each
system function before the final link of your program. The linker
generates an error message for any system function that has no index or
multiple conflicting indexes.
You can make this association in either or both of the following ways, if
the defined index is consistent across all definitions:
Specify
function. The compiler then generates the appropriate symbol table
information, including the index.
Use the
name with an index.
Since register
cannot return a value larger than four words. Refer to the i960 Processor
Software Utilities User's Guide for more information.

Language Extensions

GNU C provides several language features not found in ANSI standard C.
(The
pedantic
these features is used.) To test for the availability of these features in
conditional compilation, check for a predefined macro
is automatically defined under gcc960 (but not under ic960).
is the index of the system function in the system
procedure table and is available to the linker
through the symbol table entry for the function.
This value must be in the range
and
calljx
at both the definition and the calling of the
pragma system
assembler directive to associate a system function
.sysproc
is used for the system function index, a system function
g13
option directs gcc960 to print a warning message if any of
0
instructions and the system
calls
__GNUC__
7
to
.
259
, which
7-39

Advertisement

Table of Contents
loading

Table of Contents