Click here to Skip to main content
15,917,456 members
Home / Discussions / C#
   

C#

 
GeneralRe: Switch versus an array of delegates Pin
Dave Kreskowiak11-Mar-10 9:11
mveDave Kreskowiak11-Mar-10 9:11 
GeneralRe: Switch versus an array of delegates Pin
dybs11-Mar-10 17:28
dybs11-Mar-10 17:28 
GeneralRe: Switch versus an array of delegates Pin
Luc Pattyn11-Mar-10 17:38
sitebuilderLuc Pattyn11-Mar-10 17:38 
GeneralRe: Switch versus an array of delegates Pin
PIEBALDconsult11-Mar-10 6:41
mvePIEBALDconsult11-Mar-10 6:41 
QuestionCreating system of separation access rights Pin
Xgener11-Mar-10 5:26
Xgener11-Mar-10 5:26 
AnswerRe: Creating system of separation access rights Pin
Saksida Bojan11-Mar-10 5:56
Saksida Bojan11-Mar-10 5:56 
QuestionOutlook - with Hotmail account Pin
chiky_ancutza11-Mar-10 5:21
chiky_ancutza11-Mar-10 5:21 
QuestionGameServer Query A2S_PLAYER Problem Pin
Nokia555611-Mar-10 5:21
Nokia555611-Mar-10 5:21 
QuestionRotate an rectangle while moving the mouse... and watch it rotating Pin
nwl11-Mar-10 3:01
nwl11-Mar-10 3:01 
AnswerRe: Rotate an rectangle while moving the mouse... and watch it rotating Pin
OriginalGriff11-Mar-10 3:52
mveOriginalGriff11-Mar-10 3:52 
AnswerRe: Rotate an rectangle while moving the mouse... and watch it rotating Pin
dan!sh 11-Mar-10 4:28
professional dan!sh 11-Mar-10 4:28 
AnswerRe: Rotate an rectangle while moving the mouse... and watch it rotating Pin
Luc Pattyn11-Mar-10 5:18
sitebuilderLuc Pattyn11-Mar-10 5:18 
Questionhi Pin
Djtech0111-Mar-10 2:49
Djtech0111-Mar-10 2:49 
AnswerRe: hi Pin
Not Active11-Mar-10 3:28
mentorNot Active11-Mar-10 3:28 
AnswerRe: hi Pin
Luc Pattyn11-Mar-10 3:50
sitebuilderLuc Pattyn11-Mar-10 3:50 
Generaldetail explaination to my question. Pin
Djtech0114-Mar-10 22:18
Djtech0114-Mar-10 22:18 
thanks!
as you can see in the code MSIL has opcode which are execuited by other functions which are not shown here. after these opcodes are execuited they are retured by the 4th line of the code and after that the code will create an assembly based on the compiler result for the code written by the user.this assembly is then saved and finally run so that the user can see his code runing.

now what i want to ask is that this MSIL execuite its codes on stack based approach. but my interest is to create a compiler for 8086 microprocessor architecture which in my opinion needs register based execuition so that I can access the individual register values.

public CodeGene(AST.Stmt stmt, string moduleName)
{

this.il = methb.GetILGenerator();
this.symbolTable = new Collections.Dictionary<string, Emit.LocalBuilder>();
this.GenStmt(stmt);
il.Emit(Emit.OpCodes.Ret);
typeBuilder.CreateType();
modb.CreateGlobalFunctions();
asmb.SetEntryPoint(methb);
asmb.Save(moduleName);
System.AppDomain.CurrentDomain.ExecuteAssembly(moduleName);
this.symbolTable = null;
this.il = null;

}
so please help me to figure out conceptually how i can get register based execuition of MSIL. or is there any other way of achieving register based compilation in C#?
thank you in advance!
AnswerRe: hi Pin
Dave Kreskowiak11-Mar-10 5:19
mveDave Kreskowiak11-Mar-10 5:19 
Questionconvert foxpro project to c#/ms sql2005 server project Pin
bharatvpatil11-Mar-10 1:52
bharatvpatil11-Mar-10 1:52 
AnswerRe: convert foxpro project to c#/ms sql2005 server project Pin
Dave Kreskowiak11-Mar-10 1:59
mveDave Kreskowiak11-Mar-10 1:59 
AnswerRe: convert foxpro project to c#/ms sql2005 server project Pin
dan!sh 11-Mar-10 4:30
professional dan!sh 11-Mar-10 4:30 
Questionget the stream writer of the webbrowser control Pin
Yustme11-Mar-10 1:38
Yustme11-Mar-10 1:38 
AnswerRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 1:47
Kristian Sixhøj11-Mar-10 1:47 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 1:48
Yustme11-Mar-10 1:48 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 1:51
Kristian Sixhøj11-Mar-10 1:51 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 1:57
Yustme11-Mar-10 1:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.