HPlogo HP Assembler Reference Manual: HP 9000 Computers > Chapter 4 Assembler Directives and Pseudo-Operations

.END Directive

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

The .END directive terminates an assembly language program.

Syntax

.END

Discussion

This directive is the last statement in an assembly language program. If a source file lacks an .END directive, the Assembler terminates the program when it encounters the end of the file.

Example

A file that omitted the last line of this sample program would produce identical results.

        .CODE
.EXPORT double,ENTRY
.PROC
double
.CALLINFO
.ENTER
ADD %arg0,%arg0,%ret0
.LEAVE
.PROCEND
.END
© 1998 Hewlett-Packard Development Company, L.P.