Memory Modify (Mm) - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

MM
3.20 MEMORY MODIFY
MM <addr>[;[[B|W|L][A][N]]|[DI]]
Use the MM command (alias M) to examine and change memory locations. MM accepts the
following data types:
Integer Data Type
B – Byte
W – Word
L – Longword
The default data type is word. The MM command (alias M) reads and displays the contents of
memory at the specified address and prompts the user with a question mark ( ? ). The user may
enter new data for the memory location, followed by <CR>, or may simply enter <CR>, which
leaves the contents unaltered. That memory location is closed and the next memory location is
opened.
The user may also enter one of several step control characters, either at the prompt or after
writing new data. Enter one of the following step control characters to modify the command
execution:
V or v
^
=
.
The N option of the MM command disables the read portion of the command. The A option
forces alternate location accesses only, i.e. skip a byte/word/longword access per the data type in
use.
If the address location requested is not displayed, the automatic
offset register is non-zero and has been added to the address. See
the offset (OF) command.
M68CPU32BUG/D REV 1
Memory Modify
The next successive memory location is opened. This is the default. It
initializes whenever MM is executed and remains initialized until changed
by entering one of the other special characters.
MM backs up and opens the previous memory location.
MM re-opens the same memory location. This is useful for examining I/O
registers or memory locations that are changing over time).
Terminates MM command. Control returns to CPU32Bug.
NOTE
3-42
DEBUG MONITOR COMMANDS
MM

Advertisement

Table of Contents
loading

Table of Contents