[quote=ASMvsC++]Hi guys
I got some ques but it seems to be noone in Vietnamese forum can solve for me,So I decided to move here for my ques cuz I know most of European and American they know much bout system
Im using BC 5.5 compiler .I have written a simple code like this
#include <conio.h>
#include <iostream.h>
void main()
{
asm{ mov eax,100
add eax,200
}
cout<<"Hi!"<<"\n";
getch();
}
I compiled to exe file and run in Dos Box command line(dos box console in Window) and it worked
So let me ask some ques
did BC 5.5 complile that source to 32 bit opcode Or 16 bit opcode??
and what mode does it running on if we excute it
If I write another source
#include <conio.h>
#include <iostream.h>
void main()
{
cout<<"Hi!"
getch();
} /// No 32 bit asm code if I compile it --> will Compiler generate 32 bit code??