|
-
April 27th, 1999, 11:34 PM
#1
C++ and assembly
I write this litle prog. with Visual C++ 6.0
Introductory Edition.
void main()
{
__asm
{
mov ah,0x02
mov dl,0x42;// B
int 0x21
mov ah,0x4c
int 0x21
}
}
I think that should do this
print B and close the prog.
It compile, it link, 0 error and 0 warning.
when I execute, a blue screen appear saying that the
prog do something wrong,
WHY.
THANKS.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|