Chapter 14. CRIS Dependent Features
95
be a function entry and will be resolved by the run time resolver as with
PLT
. The relocation is
R_CRIS_32_GOTPLT
. Example:
jsr [$r0+fnname:GOTPLT]
GOTPLT16
A variant of
GOTPLT
giving a 16 bit value. Its relocation name is
R_CRIS_16_GOTPLT
. Example:
jsr [$r0+fnname:GOTPLT16]
GOTOFF
This suffix must only be attached to a local symbol, but may be used in an expression adding an
offset. The value is the address of the symbol relative to the start of the global offset table. The
relocation name is
R_CRIS_32_GOTREL
. Example:
move.d [$r0+localsym:GOTOFF],r3
14.3.3. Register names
A
$
character may always prefix a general or special register name in an instruction operand
but is mandatory when the option
no underscore
is specified or when the
.syntax
register_prefix
directive is in effect. Register names are case insensitive.
14.3.4. Assembler Directives
There are a few CRIS specific pseudo directives in addition to the generic ones. Chapter 8 Assembler
Directives. Constants emitted by pseudo directives are in little endian order for CRIS. There is no
support for floating point specific directives for CRIS.
.dword EXPRESSIONS
The
.dword
directive is a synonym for
.int
, expecting zero or more EXPRESSIONS, separated
by commas. For each expression, a 32 bit little endian constant is emitted.
.syntax ARGUMENT
The
.syntax
directive takes as ARGUMENT one of the following case sensitive choices.
no_register_prefix
The
.syntax no_register_prefix
directive makes a
$
character prefix on all registers
optional. It overrides a previous setting, including the corresponding effect of the option
no underscore
. If this directive is used when ordinary symbols do not have a
_
character
prefix, care must be taken to avoid ambiguities whether an operand is a register or a symbol;
using symbols with names the same as general or special registers then invoke undefined
behavior.
register_prefix
This directive makes a
$
character prefix on all registers mandatory. It overrides a previous
setting, including the corresponding effect of the option
underscore
.
leading_underscore
This is an assertion directive, emitting an error if the
no underscore
option is in effect.
no_leading_underscore
This is the opposite of the
.syntax leading_underscore
directive and emits an error
if the option
underscore
is in effect.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved