Nios® II Processor Reference Guide

ID 683836
Date 10/22/2020
Public
Document Table of Contents

7.2. Memory Alignment

Contents in memory are aligned as follows:
  • A function must be aligned to a minimum of 32-bit boundary.
  • The minimum alignment of a data element is its natural size. A data element larger than 32 bits need only be aligned to a 32-bit boundary.
  • Structures, unions, and strings must be aligned to a minimum of 32 bits.
  • Bit fields inside structures are always 32-bit aligned.

Did you find the information on this page useful?

Characters remaining:

Feedback Message