



Monitor: Memory Commands 




















mm
The mm command modifies memory one object at a time. Once started, the command line prompts for a new value at the starting address. After a new value is entered, pressing ENTER
DEFINITION: mm [.b, .w, .l] address
EXAMPLE: In this example, the mm command is used to write random
=> mm.b 80000 00080000: ff ? 12
00080001: ff ? 23
00080002: ff ? 34
00080003: ff ? 45
00080004: ff ?
00080005: ff ? x => md.b 80000 6
00080000: 12 23 34 45 ff ff .#4E =>
nm
The nm command modifies a single object repeatedly. Once started, the command line prompts for a new value at the selected address. After a new value is entered, pressing ENTER modifies the value in memory and then the new value is displayed. The command line then prompts for a new value to be written at the same address. Pressing ENTER with- out entering a new value leaves the original value unchanged. To exit the nm command, enter a
DEFINITION: nm [.b, .w, .l] address
mw
The command mw writes value to memory starting at address. The number of objects mod- ified can be defined by an optional fourth argument, count.
DEFINITION: mw [.b, .w, .l] address value [count]
EXAMPLE: In this example, the mw command is used to write the value 0xabba three times starting at the physical address 0x80000.
=> mw.w 80000 abba | 3 |
=> md 80000 |
|
00080000: abbaabba | abbaffff ffffffff ffffffff |
00080010: ffffffff | ffffffff ffffffff ffffffff |
00080020: ffffffff | ffffffff ffffffff ffffffff |
00080030: ffffffff | ffffffff ffffffff ffffffff |
00080040: ffffffff | ffffffff ffffffff ffffffff |
00080050: ffffffff | ffffffff ffffffff ffffffff |
00080060: ffffffff | ffffffff ffffffff ffffffff |
PmPPC7448 User’s Manual |