2-21
2.2.15 MM - Memory Modify
MM
Usage:
MM<width> addr <data>
The MM command modifies memory at the address addr. The value for address addr may be an
absolute address specified as a hexadecimal value, or a symbol name. Width modifies the size of the data
that is modified. 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