Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Assembler Reference Manual: HP 9000 Computers > Chapter 4 Assembler Directives and Pseudo-Operations

.END Directive

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » 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
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1998 Hewlett-Packard Development Company, L.P.