.section


Indicate to the assembler the start of section.

[Syntax]

Symbol field

Mnemonic field

Operand field

Comment field

 
.section
section-name, relocation-attribute
[; comment]

[Function]

-

The .section directive indicates to the assembler the start of a section (no separation of code and data).

[Use]

-

You can define all sections that can be defined via .cseg or .dseg directives using the .section directive, rather than differentiating code and data sections using the .cseg and .dseg directives.