Hi all. I am a problem with cl430 compiler.
1. I am my structure, it real size is 17 bytes. If i make sizeof(mystruct) it returns 18 bytes. Why?
2. StructPtr *pStruct=(pStruct *)&buf[(SIZEOF_BUF-1)]; - first byte is broken;
StructPtr *pStruct=(pStruct *)&buf[(SIZEOF_BUF-2)]; - first byte is NOT broken;
Why odd pointer doesn't work normal?