Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 57

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Model II TRSDOS
F (Find Hex String)
Press
to start this command. It will search in memory for a string up to
20
bytes long. You must enter the search string in hexadecimal format. Press
when you have typed in the entire string. The debug monitor will
display the fIrst occurrence of the string. If it is not in the search area, the
current memory display is unchanged.
For example:
F 8=2800 E=4000 D=C30070
Searches memory from X'2800' through X'4000' for the three-byte hexadecimal
stringxT30070'.
C's
="
is the prompt for start of search;
"E=",
for end;
"D=",
for
data in hexadecimal form.)
X (Hex Format)
Press
E1
to restore the Display to hexadecimal format. In this mode, all
addresses must be entered as four-digit hexadecimal numbers.
J (Jump)
This is a two-step process:
1. Type in the J-command and the jump address. This will load the address into the
PC
register.
2. Then use the C command to continue execution at that point.
For example:
?J
A= 2800
Now press
W
to start execution at X'2800'.
L (Load or Copy memory to memory)
Type
to enter this command. It moves a block of memory. The debugger
will prompt you to type in the start (S =) and end (E=) addresses of the block
to be copied, and the destination address (T=) for the first byte moved.
The move is incremental: the fIrst byte is moved to the fIrst destination
address, then the second to the second destination address, etc.
Examples:
?
L 8=2800 E=28F0 T=3000
Copies addresses from X'2800' to X'28FO' into memory from X'3000' to X'30FO' .
90

Advertisement

loading