修改:mw [内存地址] [值] [长度]
例如:mw 0x02000000 0 128
例如:mw 0x02000000 0 128
表示修改地址为0x02000000~0x02000000+128的内存值为0.
显示:md [内存地址] [长度]
例如:md 0x02000000 128
例如:md 0x02000000 128
表示显示0x02000000的内存数据,长度为128个32bit.
注意[长度]的取值,例如:
# md 02000000 10
02000000: ffffffff ffffffff ffffffff ffffffff ................
02000010: ffffffff ffffffff ffffffff ffffffff ................
02000020: ffffffff ffffffff ffffffff ffffffff ................
02000030: ffffffff ffffffff ffffffff ffffffff ................
# md 02000000 a
02000000: ffffffff ffffffff ffffffff ffffffff ................
02000010: ffffffff ffffffff ffffffff ffffffff ................
02000020: ffffffff ffffffff ........
02000000: ffffffff ffffffff ffffffff ffffffff ................
02000010: ffffffff ffffffff ffffffff ffffffff ................
02000020: ffffffff ffffffff ffffffff ffffffff ................
02000030: ffffffff ffffffff ffffffff ffffffff ................
# md 02000000 a
02000000: ffffffff ffffffff ffffffff ffffffff ................
02000010: ffffffff ffffffff ffffffff ffffffff ................
02000020: ffffffff ffffffff ........