EasyManua.ls Logo

Intel i960 - Page 266

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Language Implementation
7-77
7
For a reglit parameter longer than one word,
specify the number of registers needed in
parentheses after
reglit. For example,
reglit(3) allocates three consecutive registers.
If
reglit is specified without a number of
registers, the default is
reglit(1).
A
reglit return value also occupies the
specified number of registers. The declaration
reglit return is equivalent to tmpreg return.
freglit places the parameter in a floating-point register
of the compiler's choice. The
asm function must
not modify the register. You can use
freglit
only on processors with on-chip floating-point
support. When used to declare
return,
freglit places the return value in a floating-
point register. The declaration
freglit return
is equivalent to ftmpreg return.
const indicates a constant expression. The const
keyword can be followed by:
(
signed-integer
), specifying the indicated
integer value.
(
signed-integer-low
:
signed-integer-
high
), specifying an integer value in the
indicated range.
(0.0 : 1.0), specifying a floating-point value of
0.0 or 1.0. Only use const to declare
parameters, not
return.
void indicates that the return value is not used. Use
void to declare only return, not a parameter.

Table of Contents

Related product manuals