约有 55 项符合查询结果, 以下是第 5 - 6项。
费时 < 1 秒。
呵呵,谢谢Raymond,我这几天在网上找资料找得晕头转向的,想看看有没有现成的资料,
谁知道都语焉不详,图示也有唐突,没办法,只好横下心来看Intel的Developer Guide,
谁知道今天晚上上来,Raymond都弄好了,太好了。
Posted in Windows内核调试
by
skyworth
on 2008-06-26
刚刚看了一下微软官方的说明,原来我的系统真的是打开了PAE了,原因是启用呢NE。
呵呵,这样好,正好学习一下启用了PAE之后的地址转换。
原文地址:
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEdrv.mspx
下面是摘要:
To boot the system and utilize PAE memory, the /PAE switch must be added to the corresponding entry in the Boot.ini file. If a problem should arise, Safe Mode may be used, which causes the ...
Posted in Windows内核调试
by
skyworth
on 2008-06-26
不好意思,最近比较忙,一直没时间上线。
谢谢 小喂 的提醒,我现在检查一下是否打开了PAE。
呵呵,我的机器才2G内存,不至于要打开PAE呀。
Posted in Windows内核调试
by
skyworth
on 2008-06-25
观察汇编源程序 line 108
mov ecx, DWORD PTR _nDivisor$[ebp]
; 16 :
; 17 : nResult = nDividend / nDivisor;
mov eax, DWORD PTR _nDividend$[ebp]
cdq
idiv ecx
mov DWORD PTR _nResult$[ebp], eax
可以知道除数保存在寄存器ecx中。
观察汇编源程序 line 171
mov DWORD PTR _nDivisor$[ebp], 1
push OFFSET ...
Posted in Windows内核调试
by
skyworth
on 2008-06-22
无奈,让编译器生成汇编源程序,如下。
; Listing generated by Microsoft (R) Optimizing Compiler Version 15.00.21022.08
TITLE C:\TSource\fault.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG78567 DB 'Before div in __try block:', 0aH, 00H
$SG78568 DB 'nDividend=%d, nDivisor=%d, nResult=%d.', ...
Posted in Windows内核调试
by
skyworth
on 2008-06-22
手工输入程序源代码:
#include
#include
#define VAR_WATCH() printf(''nDividend=%d, nDivisor=%d, nResult=%d.\n'', nDividend, nDivisor, nResult)
int main(int argc, char* argv[])
{
int nDividend = 22;
int nDivisor = 0;
int nResult = 100;
__try
{
printf(''Before div in __try block:\n'');
VAR_WATCH();
nResult = nDividend / ...
Posted in Windows内核调试
by
skyworth
on 2008-06-22