LOCALS Enable local symbols Directive
LOCALS [prefix]
Enables block-scoped symbols, and optionally sets the two-character
local symbol prefix.
Local symbols are automatically enabled in Ideal mode.
Example: locals __
;...
test ax,1
jnz __odd
dec ax
__odd:
Example: Ideal ; Default local symbol prefix @@
lab1: ; Start of scope
@@a: ; Belongs to scope starting at lab1
@@b = 1 ; Ditto
lab2: ; Start of scope
@@a: ; Belongs to scope starting at lab2
@@b: