align

Assembly Syntax

.align n

Operation

Align skips up to n-1 bytes to make ensure that memory address is aligned to a n byte boundary.

Comments

In general, improperly alligned address in a load or store instruction causes a mem_not_aligned exception to occur

Example

.align 4

Home Page Index Page All Assembler_directives Instructions