- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Opened up Win9x DOS under Virtual PC 2008 on a system running W7 x64 on an i7 processor.
I created the smallest program which is:
0F 1F 00 ; NOP DWORD PTR [EAX]
B8 00 4C ; MOV AX,4C00h
CD 21 ; INT 21h
That causes the system to lock up.
If I remove the 0F 1F 00 then it works just fine. So my question is why does it cause a hang? I confirmed CPUID reports the family as 6 (0110b).
TIA!!
D.
Opened up Win9x DOS under Virtual PC 2008 on a system running W7 x64 on an i7 processor.
I created the smallest program which is:
0F 1F 00 ; NOP DWORD PTR [EAX]
B8 00 4C ; MOV AX,4C00h
CD 21 ; INT 21h
That causes the system to lock up.
If I remove the 0F 1F 00 then it works just fine. So my question is why does it cause a hang? I confirmed CPUID reports the family as 6 (0110b).
TIA!!
D.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found that if I actually start Win98 GUI and open a command prompt and run it, it works fine, however if I shutdown to DOS mode and run it from there, again the VM locks up.
I didn't think multi-byte nop operations needed anything special? do they?
TIA!!
I didn't think multi-byte nop operations needed anything special? do they?
TIA!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears to be a bug in Virtual PC - works ok on physical machines and confired it's throwing an execption (and must return to same instruction) as I set one up like this and got looping zeros:
push ax
push bx
mov ax,0E30h
mov bx,7
int 10h
pop bx
pop ax
iret
push ax
push bx
mov ax,0E30h
mov bx,7
int 10h
pop bx
pop ax
iret

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page