Intel i960 User Manual page 118

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

Advertisement

3
3-42
i960 Processor Compiler User's Guide
Position Independence Arguments (pc, pd, and pr): If you select
, the compiler generates position-independent code and predefines the
pc
macro.
__PIC
NOTE. Applications built using the
assembly sources that contain
instructions are not position-independent.
If you select
, the compiler generates position-independent data and
pd
predefines the
macro. Register
__PID
data sections; its contents cannot be modified, even during the saving or
restoring process.
If you select
, the compiler reserves register
pr
position-dependent modules to be combined with position-independent
data modules. Chapter 7 describes position-independent code and data.
Extended Call Argument (xc): Use the Extended Call argument when
your code calls external functions outside the range of the
opcodes. When you use this argument, the compiler emits the
pseudo-opcode, which the linker translates to either of the MEM format
opcodes
or
callx
balx
based on the symbol table entry for the defined function. The extended
call opcodes can address the entire 2
instructions occupy two words of code space. The single word CTRL
format
instructions occupy one word.
call
The compiler emits the CTRL format
any function defined outside the current compilation module.
option cannot be linked with
pc
or
instructions, since these
callx
balx
contains the bias value for the
g12
. The linker decides which translation to perform
32
address range. The extended call
pseudo-opcode when calling
callj
. Use this option for
g12
or
call
bal
calljx

Advertisement

Table of Contents
loading

Table of Contents