这是win2000,win98下自己找吧)
在“_”下输入D,显示
-d
1398:0100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1398:0110 00 00 00 00 00 00 00 00-00 00 00 00 34 00 87 13 4
1398:0120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1398:0130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1398:0140 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1398:0150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1398:0160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1398:0170 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
-
我们记下:1398:011C的值是个34。1389:011C的物理地址应该是:13A9C。
那么1000:3A9C的物理地址也应该是13A9C,他的内存也应该是34,(因为本来就是一个地址吗,就象第三行第十列和第十列第三行当然应该是同一个位置)。
-d 1000:3A9C
1000:3A90 34 00 87 13 4
1000:3AA0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3AB0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3AC0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3AD0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3AE0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3AF0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3B00 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 .
1000:3B10 00 00 00 00 00 00 00 00-00 00 00 00
-
果然如此,同样你可以验证:13A9:000C也肯定是指这一个地址,不信试试。
4 DEBUG命令
-------------------继续小抄----------------
前面已学过:显示存储单元命令 D
再学一个命令
(1)修改存储单元命令 E
格式1:E[起始地址] [内容表]
格式2:E[地址]
功能:格式1按内容表的内容修改从起始地址开始的多个存储单元内容,即用内容表指定的内容来代替存储单元当前内容。
例如:—E DS:0100 ''VAR'' 12 34
表示从DS:0100 为起始单元的连续五个字节单元内容依次被修改为
''V''、''A''、''R''、12H、34H。
格式2是逐个修改指定地址单元的当前内容。
如:—E DS:0010
156F:0010 41.5F
其中156F:0010单元原来的值是41H,5FH为输入的修改值。若只修改一个单元的内容,这时按回车键即可;若还想继续修改下一个单元内容,此时应按空格键,就显示下一个单元的内容,需修改就键入新的内容,不修改再按空格跳过,如此重复直到修改完毕,按回车键返回DEBUG“-&rdquo