53
8.17 Modify Memory M, MM
Format:
M StartAddress
or
MM StartAddress
Command to modify random access memory byte by byte. An explicit start address must be specified.
When the command is given, Xplor8 will reply with the address and the current value at that address,
followed by a period. Typing a new byte value, followed by the enter key, will change that memory
location, then advance the memory address by one and present the next byte for modification.
Pressing the space bar followed by the enter key will preserve the existing memory value. Pressing the
enter key alone will terminate the modify memory command. Typing a '+' followed by an offset
(default hexadecimal) will advance the location to be modified by that amount, similarly a '-' will
retard the location. Typing '=' followed by an address will make this address the new location for
modification. An omitted offset defaults to 1, omitting the address defaults to the current address.
For example, typing
M 8000
might give
8000 34.
Completing this line thus:
8000 34.4A
and pressing the enter key will change memory location $8000 from $34 to $4A and present the next
memory location for modification thus
8001 C3.
If the enter key is now pressed without typing a new byte value, the command will terminate, leaving
location $8001 with the value $C3. If the space bar was pressed before the enter key, then the value
$C3 would also have been preserved, but the command would not terminate, and the next location,
$8002 would be presented for modification. Typing:
8001 C3.+3
will advance the location to $8004 without changing the byte at $8001, and present the byte for
modification:
8004 5F.
Typing an '=' and a new address moves modification to that address:
8004 5F.=8010
Comentários a estes Manuais