Bewerken

Delen via


LOCAL

In the first directive, within a macro, LOCAL defines labels that are unique to each instance of the macro.

Syntax

LOCAL localId ⟦, localId ...⟧

LOCAL labelId[count] ⟧ ⟦:qualifiedType⟧ ⟦, labelId[count] ⟧ ⟦qualifiedType⟧ ...⟧

Remarks

In the second directive, within a procedure definition (PROC), LOCAL creates stack-based variables that exist for the duration of the procedure. The labelId may be a simple variable or an array containing count elements, where count is a constant expression.

See also

Directives reference
MASM BNF Grammar