PowerPC Embedded Application Binary Interface (EABI)初探

C的源代碼中定義一下結構體。 typedef struct { UINT8 RecType; UINT8 NumBytes; UINT32 LoadAddr; UINT8 Data[MaxSRecLen]; } SRecDataRec; 發現,在內存中是按照以下方式排列的: 可見,struct中間可能是留有空隙的。這樣的對齊方式是符合標準的。
相關文章
相關標籤/搜索