NOTE

Assembler Directives and Pseudo-Operations

.COPYRIGHT Directive

.COPYRIGHT Directive

The .COPYRIGHT directive inserts a company name and date into the object module as a copyright notice.

Syntax

.COPYRIGHT "company-name[ , date] "

Parameters

company-name,

dateA sequence of ASCII characters, surrounded by quotation marks. The string can contain up to 256 characters. When a comma follows the company name, the next text is expected to be the date.

Discussion

The following is the standard copyright message placed in the copyright header of the object file:

Copyright company-name,date. All rights reserved. No part of this program may be photocopied, reproduced, or transmitted without prior written consent of company-name.

This directive can appear anywhere in the source file, but may appear only once.

Chapter 4

75