Section
The assembler uses different sections for different kinds of data:
The program section contains operations (instructions).
The sequence section contains character sequences referenced by
SEQUENCEoperations.The class section contains character classes referenced by
CLASSoperations.
Use the .section command to switch between these sections.
Syntax
- .section &program
Switch to the program section.
- .section &sequence
Switch to the sequence section.
- .section &class
Switch to the class section.
Arguments
The .section command expects exactly one argument:
&identifierThe section name. Valid values are
&program,&sequenceand&class.
Notes
Section identifiers are case-insensitive.
If a character class definition is currently open, switching sections will close it.
Any additional token after the section identifier causes an error.
Examples
.section &program
start: CHAR 'a'
MATCH
.section &sequence
myText: .data "hello"