.long Directive

Syntax

.long expression1 [, expression2] ... [, expressionN]

Description

The .long directive truncates the expression values specified in the comma-separated list to 32-bit values and assembles the values in successive locations. The expression values can be relocatable.

The operands can optionally have the form expressionVal [ :expressionRep]

The expressionVal is a 32-bit value. The optional expressionRep is a non-negative expression that specifies how many times to replicate the value of expressionVal. The expression value (expressionVal) and repetition count (expressionRep) must be absolute.

This directive automatically aligns its data and preceding labels to a longword boundary. You can disable this feature with the .align 0 directive.