F
fl
Hi,
The following is except from C usage in TI DSP. It mentions memory alias, pointer-to-char. I do not understand what is special for the point-to-char. Could you give me some explanations on it?
Thanks,
.................................................
With packed data processing, it is desirable to access multiple elements of a
given type with a single de-reference as shown in Example 2-9. Normally,
de-referencing a pointer-to-type returns a single element of that type.
Furthermore, the ANSI C standard states that pointers to different types are
presumed to not alias (except in the special case when one pointer is a
pointer-to-char).
The following is except from C usage in TI DSP. It mentions memory alias, pointer-to-char. I do not understand what is special for the point-to-char. Could you give me some explanations on it?
Thanks,
.................................................
With packed data processing, it is desirable to access multiple elements of a
given type with a single de-reference as shown in Example 2-9. Normally,
de-referencing a pointer-to-type returns a single element of that type.
Furthermore, the ANSI C standard states that pointers to different types are
presumed to not alias (except in the special case when one pointer is a
pointer-to-char).