2-26
M5407C3 User’s Manual
Commands
MM
Memory Modify
Usage:
MM<width> addr <data>
The MM command modifies memory at the address addr. The value for addr may be an
absolute address specified as a hexadecimal value, or a symbol name. Width specifies the
size of the data that is modified. If no <width> is specified, the default of word sized data
is used. The value for data may be a symbol name, or a number converted according to the
user-defined radix, normally hexadecimal.
If a value for data is provided, then the MM command immediately sets the contents of addr
to data. If no value for data is provided, then the MM command enters into a loop. The loop
obtains a value for data, sets the contents of the current address to data, increments the
address according to the data size, and repeats. The loop terminates when an invalid entry
for the data value is entered, i.e., a period.
This command first aligns the starting address for the data access size, and then increments
the address accordingly during the operation. Thus, for the duration of the operation, this
command performs properly-aligned memory accesses.
Examples:
To set the byte at location 0x00010000 to be 0xFF, the command is:
mm.b
10000 FF
To interactively modify memory beginning at 0x00010000, the command is:
mm
10000
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
n
c
.
..