description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: LOCAL |
LOCAL (MASM) |
12/16/2019 |
|
|
76147e2d-23ca-4f1e-8817-81428becd113 |
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.