Hello Support team.
I found the below comments.
NOTE: TMS320C28x Byte is 16 Bits
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.5.6.
From the above sentence, I understood that CHAR as a variable is 16bit (equivalent to SHORT),
But little bit I am in confusion from “a byte is also 16 bits.”.
The unit of the number shown in Stack Usage of CCS is length, which I understand as byte.
For example, I think that if Stack Usage show 50, this means that 50 is 50 bytes and 50 x 8 bit.
But I need to confirm if this value 50 means is 50 bytes and 50 x 16 bit.
Best Regards
KORO