Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Assembly (http://www.programmingforums.org/forum20.html)
-   -   hpl me plzzzz (http://www.programmingforums.org/showthread.php?t=6671)

ASMvsC++ Oct 27th, 2005 7:12 PM

hpl me plzzzz
 
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??(me wanna make sure)
and did it run in Protect Mode???
I think it compiled source to 32 bit code coz it didnt cause error while compiling (my source have some 32bit code ,see???)

So if it was 32 bitcode why it could run in Dos Box ,coz Dos Box using
VM86 Mode

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??
And in this case wil it run in Protect mode??/

Thx plzz help me coz I still have bunch of ques after this
Every ans is apreciated

iignotus Oct 27th, 2005 7:35 PM

eye dun thnk ne1 wud asn u r ? cz u dun fllw rulze :/

Even disregarding your infamiliarity with the English language, your post does not make much sense. Please reformat your question or something similar.

ASMvsC++ Oct 27th, 2005 7:47 PM

edited !!! put code in TAB Code :D
Does I need perfect English to get ans from people in this forum ?? is it rules in here ??
Well I have just learn english for 3 months so... not perfect sympath 4 me !

And what doesnt make sense ! tell me ,I need s.o help me thx

Silvanus Oct 27th, 2005 8:29 PM

Don't be a jerk, tempest. He doesn't speak English and is clearly a beginner programmer; cut him some slack. Calling him an idiot isn't going to help.

That said, the post is pretty much incoherent. Want to try again?

ASMvsC++ Oct 27th, 2005 8:30 PM

~.~ sorry for say this >.<

what the h... are u talkin about ?? why so serious with some kinda f.... english or rulz
and what wrong with my post title

tempest Oct 27th, 2005 8:36 PM

I'm a mean drunk, can a moderator please remove that last post...

ASMvsC++ Oct 27th, 2005 8:50 PM

[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??

ASMvsC++ Oct 27th, 2005 8:51 PM

sorry for saying some not proper word :dry:

but I kinda angry ~.~

OpenLoop Oct 27th, 2005 8:51 PM

Technically speaking, the bigger jerk here is iignotus. So what if he doesn't speak perfect english, no one is perfect. As far as i'm concerned, you're the one in violation of forums rules and not ASMvsC++.

ASMvsC++ Oct 27th, 2005 8:55 PM

so tell me what wrong with my ques why so concerned about rule ???
but do u guy understand what im asking ?? if u guys understand my ques , if everybody know what im asking ,so I hope s.o help me


All times are GMT -5. The time now is 11:24 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC