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


LOCAL localId ⟦, localId ...⟧

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


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