Specifications

Saturn Local Labels 7-5
Psy-Q Development System
LOCAL
Description The LOCAL directive is used to declare a set of macro-specific labels.
Syntax LOCAL symbol,..,symbol
See Also MODULE
Remarks
The scope of symbols declared using the LOCAL directive is restricted to the
host macro.
The LOCAL directive does not force a type on the symbol set that makes up its
operand. In practice, therefore, such symbols can be used as equates, string
equates or any other type, as well as labels.
Examples doorpos macro
local m_door1,m_door2,doorw
bsr.s doorw
bsr doorw
m_door1 equ door_start*\1
m_door2 equ door_fin*\2
doorw movem.w (a3)+,d0-d2
move.w (a4),d3
move.w 6(a4),d4
move.w 12(a4),d5
endm