EasyManua.ls Logo

Intel i960 - Other Type Keywords

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...
i960 Processor Compiler User's Guide
7-14
7
Figure 7-6 shows std_struct, aligned on 2-byte boundaries, as follows:
#pragma i960_align (std_struct = 2)
Figure 7-6 #pragma align Alignment of std_struct
m1a Byte 0
16
12
8
4
m4a (continued)m2a
m4a
m8a
0
0 7
0 7
0 7
m1b
OSD1887
m8a (continued)
XXXXXXXXXXXXXX
mbit6 mbit7 mbit5
7
Other Type Keywords
The void data type is neither a scalar nor an aggregate. Use void as the
return type of a function, to indicate that the function does not return a
value. Use
void * as a pointer to an unspecified data type.
The
const and volatile type qualifiers do not define data types. Rather,
they associate attributes with other types. Use
const to specify that an
object is a constant and is not to be changed. Use
volatile to specify
that an object may change in ways unknown to the compiler.
Optimization is inhibited on
volatile objects. Inhibition of optimization
is necessary for objects such as memory mapped I/O registers or data
accessed by interrupt functions.
Calling Conventions
This section describes the standard i960 processor function calling
convention and describes how the compiler generates code to conform to
this calling convention.

Table of Contents

Related product manuals