
Using Expression Analysis in the Debugger
12-6
Note how the first expression differs from the expression:
(float)*10
In this case, the debugger fetches an integer from address 10 and con-
verts the integer to a floating-point value.
You can also typecast to user-defined types such as structures. For exam-
ple, in the expression:
((struct STR *)10)–>field
the debugger treats memory location 10 as a pointer to a structure of type
STR (assuming that a structure is at address 10) and accesses a field from
that structure.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...