A2318: Section not declared

[ERROR]

Description

The label specified in a SWITCH directive is not associated with a section.

Example
  dataSec:   SECTION

  label1:    DS.B 1

             ; ...

  codeSec:   SECTION

             ; ...

             SWITCH unknownSec

             ; ...
  
Tips

Specify the name of a previously define section in the SWITCH instruction.

Example
  dataSec:   SECTION

  label1:    DS.B 1

             ; ...

  codeSec:   SECTION

             ; ...

             SWITCH dataSec

             ; ...