Output Commands - Texas Instruments 990 Operation Manual

Prototyping system
Hide thumbs Also See for 990:
Table of Contents

Advertisement

J17~
_ _ _ _ _ _ _
~
945255-9701
The L command is used to identify the top and bottom lines of the buffer.
4.5.5.2 Print (P). The Print command causes PX9EDT to print a block of lines. The block of
lines is specified by first and last line numbers, or by a number of lines preceding or following
the pointer. The SL and SN commands, when entered, control printing of line numbers, and the
SP command, when entered, sets the right margin of the print lines. When these commands are
not entered, line numbers are printed and the right margin is column 72. The syntax of the P
command
is
as follows:
I
<s>-<t> }
P
[+][<n>].
-<n>
Line s through line t are printed, or n lines are printed. When n is preceded by a minus sign, n
lines preceding the pointer line, but not the pointer line, are printed. When n is unsigned or
preceded by a plus sign, n lines beginning with the pointer line are printed. When no operand is
entered, the pointer line is printed. The following example shows a P command to print lines 8
through 10:
?P8-10
The command in the following example prints the pointer line and the next three lines:
?P4
The user may terminate the Print command at any time by entering an ESC character at the
keyboard. PX9EDT then prints a question mark and awaits input of another command.
4.5.6 OUTPUT COMMANDS. PX9EDT provides two commands to write source or object code
and one command to end execution of PX9EDT. The Keep command writes the entire buffer or
specified lines from the buffer. The Quit command writes specified lines from the buffer, the
entire buffer, or the buffer contents and the remainder of the input file, and writes an end-of-file
record on the output file. The output commands are described in the following paragraphs.
4.5.6.1 Keep
(K).
The keep command writes a specified number of lines from the buffer on the
output device. The syntax of the K command is as follows:
K[<n>l
The first n lines of the buffer, or all lines in the buffer when n is omitted, are written on the
output device. When the pointer line is written, the pointer is moved to the top line remaining in
the buffer. The K command is entered to write lines no longer required in the buffer in order to
have space in the buffer for additional lines. The following example shows a K command to
write the top 15 lines of the buffer:
?K15
4.5 .. 6.2 Quit (Q). The Quit command writes lines from the buffer and input file followed by an
end-of-file record. The syntax of the Q command is as follows:
Q[<S>]
4-14
Digital Systems Division .

Advertisement

Table of Contents
loading

Table of Contents