Specifications

42000020: 756e694c 2e332d78 2d302e36 7478656e Linux-3.6.0-next
=>
42000030: 3130322d 30303132 30302d31 2d343130 -20121001-00014-
42000040: e1a00000 e1a00000 e1a00000 e1a00000 ................
42000050: e1a00000 e1a00000 e1a00000 e1a00000 ................
=>
This command, too, can be used with the type extensions .l, .w and .b :
=>
=> md.w 0x42000000
42000000: 0527 5619 7c80 8daa 6a50 dcea 2100 606e '..V.|..Pj...!n`
42000010: 0040 0080 0040 0080 @...@...
=> d.b 0x4200000
The last displayed memory address and the value of the count argument are remembered, so when you enter
md again without arguments it will automatically continue at the next address, and use the same count again.
=>
=> md.b 0x42000000 0x20
42000000: 27 05 19 56 80 7c aa 8d 50 6a ea dc 00 21 6e 60 '..V.|..Pj...!n`
42000010: 40 00 80 00 40 00 80 00 0f 11 e1 9d 05 02 02 00 @...@...........
=> d.w 0x42000000
Unknown command 'd.w' - try 'help'
=> md 0x4200000
5.9.2.6. mm - memory modify (auto-incrementing)
=>
=> help
The mm is a method to interactively modify memory contents. It will display the address and current contents
and then prompt for user input. If you enter a legal hexadecimal number, this new value will be written to the
address. Then the next address will be prompted. If you don't enter any value and just press ENTER, then the
contents of this address will remain unchanged. The command stops as soon as you enter any data that is not a
hex number (like .):
=>
=>
=> mm 0x42000000
42000000: 56190527 ? 0
42000004: 8daa7c80 ? 0xaabbccdd
42000008: dcea6a50 ? 0x01234567
4200000c: 606e2100 ? .
=> md 0x42000000 0x10
42000000: 00000000 aabbccdd 01234567 606e2100 ........gE#..!n`
42000010: 00800040 00800040 9de1110f 00020205 @...@...........
42000020: 756e694c 2e332d78 2d302e36 7478656e Linux-3.6.0-next
42000030: 3130322d 30303132 30302d31 2d343130 -20121001-00014-
=>
Again this command can be used with the type extensions .l, .w and .b :
=>
=> mm.w 0x42000000
42000000: 0000 ? 0x0101
42000002: 0000 ? 0x0202
42000004: ccdd ? 0x4321
42000006: aabb ? 0x8765
42000008: 4567 ? .
=> md 0x42000000 0x10
42000000: 02020101 87654321 01234567 606e2100 ....!Ce.gE#..!n`
5.9.2.5. md - memory display 47