vak: (Default)
[personal profile] vak
Отгадка. Цитата из "TMS320C2x/C2xx/C5x Optimizing C Compiler User's Guide":

TMS320C2x/C2xx/C5x Byte Is 16 Bits
By ANSI C definition, the sizeof operator yields the number of bytes required to store an object. ANSI further stipulates that when sizeof is applied to char, the result is 1. Since the TMS320C2x/C2xx/C5x char is 16 bits (to make it separately addressable), a byte is also 16 bits. This yields results you may not expect; for example, sizeof (int) = = 1 (not 2). TMS320C2x/C2xx/C5x bytes and words are equivalent (16 bits).