NOTE
Assembler Directives and
.VERSION Directive
.VERSION Directive
The .VERSION directive places the designated string in the current object module for version identification.
Syntax
.VERSION "info_string"
Parameters
info_string A sequence of ASCII characters, surrounded by quotation marks. The string can contain up to 256 characters.
Discussion
The Assembler places this string in the current object module. A program can contain multiple .VERSION directives.
Once the version information is in the object file, the
This directive can appear anywhere in the source file, and multiple occurrences are permitted.
Example
This program inserts version information into the object module, and performs subtract and deposit operations.
.CODE
.VERSION "Version 1 of This Simple Sample Program"
SUB %r19,%r20,%r19
DEP %r19,14,5,%r22
.END
114 | Chapter 4 |