Assembler Directives and Pseudo-Operations

.COPYRIGHT Directive

Example

This program places a copyright notice in the object file. Once the copyright notice is in the object file, the HP-UX utility strings can be used to access it. See strings(1) in HP-UX Reference.

.COPYRIGHT "My Company Name, 8 Nov 1994"

.CODE

.EXPORT main,ENTRY

main

.PROC

.CALLINFO

.ENTER

LDI 2,%r5

ADDI 2,%r5,%r6

.LEAVE

.PROCEND

76

Chapter 4