CRI ADX  Last Updated: 2024-07-17 10:47 p
Alignment (Memory/File)

Memory Alignment

The Atom library accesses on-memory data with a 32-bit width.
Therefore, when the following APIs are used to set on-memory data for the library, the first address of the data must be aligned at a 4-byte boundary.

[Note]
The alignment adjustment of the work area is performed by APIs in the library, and a memory area whose alignment is not adjusted can be set for the work area.

File Alignment

The Atom library uses the CRI File System library to access files.
Therefore, alignment restrictions in reading files are based on the specifications of the CRI File System library.
For details, see the CRI File System "FileMajik PRO" manual.