Oleksiy Kasilov

structure alignment on HCS08 uC

Discussion created by Oleksiy Kasilov on May 18, 2010
Latest reply on May 18, 2010 by CrasyCat

Hi all! 

 

I am using MC9S08DZ60 uC.

Are the structures always aligned to the 1 byte boundary?  Meaning the sizeof operator will always yield the size of data members, no padding bytes? Am I right?

 

Thank you for your help.    

Outcomes