User’s Manual MCUez HC12 Assembler
266 Assembler Messages MOTOROLA
Assembler Messages
12.3.25 A2316: Section Name Required
Type: Error
Description: A SWITCH directive is not followed by a symbol name.
Absolute expressions or strings are not allowed in a SWITCH
directive.
The symbol specified in a SWITCH directive must refer to a
previously defined section.
Example:
dataSec: SECTION
label1: DS.B 1
…
codeSec: SECTION
…
SWITCH $A344
…
Tip: Specify the name of a previously defined section in the
SWITCH instruction.
Example:
dataSec: SECTION
label1: DS.B 1
…
codeSec: SECTION
…
SWITCH dataSec
…