Text; Textc; Title; Text Directive - Xerox 530 Language And Operations Reference Manual

Table of Contents

Advertisement

does not.
Instead, SREF informs the loader that if the
programs whose labels it references are in core memory,
then the loader should satisfy the references and pro-
vide the interprogram linkage.
If I'he programs are not
in core, SRE F does nol' cause the loader to load them; how-
ever, it does cause the loader to accept any references
within the program to the symbols, without considering
them to be unsati sfi ed extern(ll references.
TEXT
EBCDIC Character String
The TEXT directive enables the user
1"0
assemble an EBCDIC
character string for use as data. This directive hels the form
Label
~~_C~on~-lm-a-nd-~r~u~m~e~n~t
____
~~
__
~
-[label]
TEX~_=~-I(~S
1[, ... ,
ICS n IJ
where
label
is any va
I
id symbol. Use of a label is op-
cs.
I
tional. When present, it is definedas the current
value of the execution location counter and iden-
tifies the first word of the character string. TEXT
increments the location counters by the number of
words generated from the argument field.
is an explicit character string constant and
may include Clny character$ in the EBCDIC char-
acter set.
the character sITing must be enclosed
by single quot'ation marks (see IIConstants" in
Chapter 2).
The character string is assembled in binary-coded form,
two characters per word. A b lank is inserted as the second
character of the last word if the number of characters is
odd.
Example 28. TEXT Directive
COL 1
TEXT
IVALUE OF
><
I
generates
I~
OF
.x
TEXT
IABCII
generates
~~
TEXTC
Text with Count
The TEXTC directive enables the user to incorporate a
character string preceded by a character count in a pro-
gram. This directive has the form
Command
TEXTC
where Ilabel ' and cs. have the same meaning as described
for TEXT.
I
The TEXTC directive provides a byte count of the storage
space requi red for the message. The count is placed in the
first byte of the storage area and the character string fol-
lows, beg i nni ng in the second byte. The count represents
only the number of characters in the character string; it
does not include the byte it occupies nor any trailing
blanks that may be required. The maximum number of char-
acters (in the string) for a single TEXTC directive is
63.
In all other aspects, the TEXTC directive functions in the
same manner as the TEXT directive.
Example
29.
TEXTC Directive
ALPHA
TITLE
TEXTC
IVALUE OF XI
generates
10 V
A L
U E
F
X
o
Identify Output
The TITLE directive enables the programmer to specify an
identification for his assembly listing. The TITLE direc-
tive has the form
Command
-TITLE--
Argument
[
I
I
I
I
cs 1 ' ... , cs
where
CSj
is an explicit character string constant (one
through 64 characters) and may include any characters in
the EBCDIC character set.
The character string must be
enclosed by single quotation marks.
A label field entry is ignored by the assembler unless it is
the target labe
I
of a GOTO search.
When a TITLE directive is encountered, the assembly listing
is advanced to a new page and the character string is
pri nted at the top of that page and each succeedi ng page
unti
I
another TITLE directive is encountered.
Extended Symbol Directives
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sigma 3Sigma 2

Table of Contents