.text Directive

Syntax

.text expression

Description

The .text directive instructs the assembler to add subsequent code to the .text section, named with the expression provided. (This is the default.)

The assembler allows a non-text directive to occur within the scope of a procedure. The use of the .text directive following the non-text instructions causes the assembler to reset its context to the procedure. The Alpha assembler does produce a warning in this case. This feature has been retained in the Alpha assembler to support code generated by the acc compiler.