Требуется программист в Зеленограде
- обработка данных с датчиков; ColdFire; 40 тыс. e-mail:jobsmp@pochta.ru |
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).