Texas Instruments 990 Operation Manual page 131

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

Advertisement

~'-------
~
945255-9701
The I command inserts five lines following line 77. The number of lines inserted is the number
of lines entered with the command, and may be one or any. number of lines. After the carriage
return that terminates the last line, enter an additional carriage return to terminate the
command.
The next command and the resulting printing are as
fo~ows;
?P11-18
0011
0018
JMP
EXIT
* TITLE
=
MSGOUT - MESSAGE OUTPUT
MSGOUT
MOV
*R11+,Rl0
MOV "'~MCOUNT(Rl0),Rl0
BLWP
(QIPRINT
B
*R11
EOFEXT
BL
@MSGOUT
The P command prints lines 77 through
78,
which includes the five unnumbered lines inserted
by the previous command. The result shows that the lines have been inserted correctly.
The· next command and the resulting interaction are as follows:
?F 1-46F'EXIT"EXTDWN'VP
0011
JMP
EXIT
YIN? Y
0011
JMP
EXTDWN
0011
JMP
EXIT
YIN? Y
0011
JMP
EXTDWN
0080
EXIT
RTWP
YIN? Y
0080
EXTDWN
RTWP
0086
JEQ
EXIT
YIN? N
0004
FOUND
The F command fmds the first appearance in a line of the string EXIT in lines I through 46.
(Remember that line 46 is now the last line, i.e., after line 116.) The entire buffer is scanned
because the top line in the buffer is line I and the bottom line
is
line 46. Line numbers greater
than 46 between lines I and 46 are also scanned. The replacing string
is
used only when the user
enters a Y following the printing of the line found. In the example shown, the replacement was
not made in line
86
because the user entered an N following the printing of this line. lines 71,
77
and
80
were. replaced because the user entered a Y following the printing of these lines. The
. count of lines found is printed after all lines have been scanned. The F command may be used
to s.can only a portion of the buffer, from one line up to the entire buffer, and replace from one
character to the entire statement.
.
The next three commands are as follows:
?Rl5-15
?R11-17
?R19-19
Digital Systems Division .

Advertisement

Table of Contents
loading

Table of Contents