约有 16 项符合查询结果, 以下是第 2 - 2项。
费时 < 1 秒。
或者说index register是不是只对串操作有意义?
Posted in CPU架构
by
sgyhm
on 2007-03-28
是不是只有串操作有这个index register?
Posted in CPU架构
by
sgyhm
on 2007-03-28
int main(int argc, char* argv[])
{
//.1double CBA =0;
Line1 int x = 16;
Line2 int me = 10;
Line3 int sizea = sizeof(int);
Line4 me = me +1;
return 0;
}
还是不行 ,具体如下:
F10走到Line3
DD me
CallFunction!main+0x26:
0040d6e6 c745f404000000 mov dword ptr [ebp-0Ch],4 ss:0023:0013ff74=cccccccc
0:000> dd me
Windbg显示:
0013ff78 ...
Posted in WinDbg
by
sgyhm
on 2007-03-28
实在是不好意思,刚刚用上windbg就遇到这么估计很白痴的问题,不会用这条ba指令。
请看如下例子:
int main(int argc, char* argv[]){ //double CBA =0; int me = 10; char tt = 't'; int tttt = 15;
me = me +1; //我指望使用ba断点能让windbg在这里断下,只要操作me变量就停下。 return 0;}
说干就干,调试这段代码,把&me ...
Posted in WinDbg
by
sgyhm
on 2007-03-27
非常感谢,尤其是您在开会时用英语写的那段,我总算明白displacement or sib到底是什么东西了。 感谢advdbg,一指楼上的,二指像raymond老师等帮助过我的高人,三指这个论坛,我翻遍了网络各处都找不到解释指令手册的,终于在这里得到回答。 最后还有个问题:why No 4 stands for ESP? 指令手册规定的? Index 100 stands for index x is none?这又是为什么?不明白这句 because above instruction does not use index register.应该是说mov指令不使用index register, 请问index register 指代什么? 期待另外两个例子谢谢谢谢。
Posted in CPU架构
by
sgyhm
on 2007-03-27
我阅读的是第二卷,Chapter2 Instruction Format.
有些地方实在不明白:
2.4. MODR/M AND SIB BYTESMost instructions that refer to an operand in memory have an addressing-form specifier byte(called the ModR/M byte) following the primary opcode. The ModR/M byte contains threefields of information:• The mod field combines with the r/m field to form 32 ...
Posted in CPU架构
by
sgyhm
on 2007-03-22