Hello,
I wrote a simple inline assembly for memory access as follows.
__asm
{
mov EBX, 10h
mov AL, [EBX]
}
And it crashed at the second code line.
The code was in a device driver running in kernel mode of Windows XP (and in protected mode, I guess).
What was the problem, please?
Thanks a lot.
ARINTEL
I wrote a simple inline assembly for memory access as follows.
__asm
{
mov EBX, 10h
mov AL, [EBX]
}
And it crashed at the second code line.
The code was in a device driver running in kernel mode of Windows XP (and in protected mode, I guess).
What was the problem, please?
Thanks a lot.
ARINTEL