Download Super Utility+ v.3 - Classic

Transcript
USER’S MANUAL
Page 67
Any errors encountered will be displayed by this routine, and you will be given a bit-bybit breakdown of the problem addresses.
VIII. JUMP TO MEMORY
This option will allow you to execute a jump, or transfer of control, to any memory
address you select, and you need only enter that address. This would normally be done if you
wanted to jump to your own machine-language subroutine in high memory, for example. This
routine is written in such a way that a simple RET instruction (C9H) will bring you back into
Super Utility Plus. However, DO NOT try jumping into random locations blindly, especially into
the Super Utility Plus program! Know what you are doing before trying a jump to memory!
IX. STRING SEARCH
This routine will allow you to search memory for the occurrence of a particular ASCII
string, byte string, or two-byte word string, and replace them with another string of your
choosing. The routine works in the same fashion as the STRING SEARCH routine of the ZAP
Utilities, except that this one works on memory, not disk. You must enter the starting and ending
locations of the memory block to be searched. Next you will be asked to enter the string to be
searched for.
Enter an ASCII string directly. Surround the string with double quotes if you want an
exact case match on the search, or with single quotes if you want a case independent search to be
made. To enter a byte string, enter a series of values in the range 0 - 255 decimal and separate
them with spaces or commas. The values may be entered in any of the acceptable numeric bases
recognized by Super Utility Plus. To search for two-byte WORD strings, enter two-byte values
separated by spaces or commas. The two-byte values should not exceed the range 0 - 65535
decimal. Remember that the routine will reverse the order of two-byte words in order to correctly
search out address references, which are kept in LSB-MSB (least significant byte - most
significant byte) order. Also, note that leading zeroes may cause the program to evaluate a twobyte value into one byte. For example, 0033H would evaluate to 33H instead of 3300H.
As with the search string function of the ZAP utilities, you may enter a search string of
intermixed ASCII, one-byte values, and two-byte values.
If you do not wish to replace the original string, merely press ENTER when prompted for
the replacement string, and the program will display the matches as it finds them, along with
their locations. If there are many of them, they will scroll past at a high rate of speed. Hold down
the spacebar to temporarily stop the display. If the string was to be replaced, they will be
replaced at this time. Remember that if the replacement string is longer than the search string, it
will be truncated to the length to the search string. However, if the replacement string is shorter
than the search string, only the corresponding number of bytes in the search string will be
replaced.
Copyright © 1983 by Breeze/QSD, Inc.