EasyManuals Logo

Texas Instruments TMS34010 Reference Guide

Texas Instruments TMS34010
181 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
Page #44 background imageLoading...
Page #44 background image
TMS34010
C
Language
-
Conversions/Expressions
K&R 14.4
Pointers and integers
(or
longs) may be freely converted, since each occupies
32
bits
of
storage. Pointers to one data type can also be converted to pointers
to
another data
type,since
the TMS3401 0 has no alignment restrictions and
all pointers are the same size.
4.5
Expressions
Added
type
-
Void
Expressions
A
function
of
type void has no value (returns no value) and cannot be called
in any
way
except
as
a separate statement
or
as
the left operand
of
the comma
operator. Functions can be declared or typecast
as
void.
K&R
7.1-
Primary
Expressions
In TMS3401 0
C,
functions can return structures or unions.
The restriction
of
three array dimensions does
not
apply
to
expressions, be-
cause [ ] is treated
as
an operator.
K&R 7.2 -
Unary
Operators
in
Expressions
The value yielded by the sizeD! operator is calculated
as
the total number
of
bits used
to
store the object divided
by
eight. (Eight
is
the number
of
bits in
a character.)
Sizeo!
can be legally applied
to
enum objects and bit fields:
if
the result is
not
an
integer, it
is
rounded
up
to
the nearest integer.
4-7

Table of Contents

Other manuals for Texas Instruments TMS34010

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS34010 and is the answer not in the manual?

Texas Instruments TMS34010 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS34010
CategoryComputer Hardware
LanguageEnglish

Related product manuals