
C Expressions for Assembly Language Programmers
12-2
12.1 C Expressions for Assembly Language Programmers
It’s not necessary for you to be an experienced C programmer in order to use
the debugger. However, in order to use the debugger’s full capabilities, you
should be familiar with the rules governing C expressions. You should obtain
a copy of
The C Programming Language (first or second edition) by Brian W.
Kernighan and Dennis M. Ritchie, published by Prentice-Hall, Englewood
Cliffs, New Jersey. This book is referred to in the C community, and in Texas
Instruments documentation, as
K&R.
Note:
A single value or symbol is a legal C expression.
K&R contains a complete description of C expressions; to get you started,
here’s a summary of the operators that you can use in expression parameters.
-
Reference operators
–>
indirect structure reference
.
direct structure reference
[ ]
array reference
*
indirection (unary)
&
address (unary)
-
Arithmetic operators
+
addition (binary)
–
subtraction (binary)
*
multiplication
/
division
%
modulo
–
negation (unary)
(
type) typecast
-
Relational and logical operators
>
greater than
> =
greater than or equal to
<
less than
< =
less than or equal to
==
is equal to
! =
is not equal to
&&
logical AND
| |
logical OR
!
logical NOT (unary)
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...