![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
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 codeAnd 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 Last edited by ASMvsC++; Oct 27th, 2005 at 8:40 PM. |
|
|
|
|
|
#2 |
|
Professional Programmer
|
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.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
edited !!! put code in TAB Code
![]() 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 |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Aug 2005
Location: Hiding from... them...
Posts: 110
Rep Power: 4
![]() |
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?
__________________
:wq |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
~.~ 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 |
|
|
|
|
|
#6 |
|
Programming Guru
![]() |
I'm a mean drunk, can a moderator please remove that last post...
__________________
|
|
|
|
|
|
#7 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
[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 |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
sorry for saying some not proper word :dry:
but I kinda angry ~.~ |
|
|
|
|
|
#9 |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
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++.
|
|
|
|
|
|
#10 |
|
Newbie
Join Date: Oct 2005
Posts: 12
Rep Power: 0
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|