The wrong when debug use bochs
Posted: Sat Sep 02, 2006 2:09 am
I writed the code like this:
but I debug it in bochs and get result following:
Why?what' wrong? the bochs or other?
Code: Select all
push ax ;debug 0x8277
mov ecx,0xFFFF
Wait_Send_Loop:
mov dx,FdcMsr
in al,dx
and al,0xc0
cmp al,0x80
but I debug it in bochs and get result following:
Code: Select all
push ax
mov ecx,0x0000ffff
mov dx,0x03f4 ;is ok
in al,0x24 ;that's wrong,It's should be in al,0x03f4
...
...
Why?what' wrong? the bochs or other?