标签:har ade present 分享 values head stand opera val
Table 6-1 lists the size, representation, and range of each scalar data type for the C28x compiler. Many of
the range values are available as standard macros in the header file limits.h.
By ANSI/ISO C definition, the sizeof operator yields the number of bytes required to store an
object. ANSI/ISO further stipulates that when sizeof is applied to char, the result is 1. Since
the TMS320C28x char is 16 bits (to make it separately addressable), a byte is also 16 bits.
This yields results you may not expect; for example, size of (int) = = 1 (not 2). TMS320C28x
bytes and words are equivalent (16 bits). To access data in increments of 8 bits, use the
__byte() and __mov_byte() intrinsics described in Section 7.4.5.
标签:har ade present 分享 values head stand opera val
原文地址:http://www.cnblogs.com/qiyuexin/p/6391681.html