Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 2:04
Kristian Sixhøj11-Mar-10 2:04 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 2:13
Yustme11-Mar-10 2:13 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 2:25
Kristian Sixhøj11-Mar-10 2:25 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 2:33
Yustme11-Mar-10 2:33 
GeneralRe: get the stream writer of the webbrowser control Pin
Kristian Sixhøj11-Mar-10 4:22
Kristian Sixhøj11-Mar-10 4:22 
GeneralRe: get the stream writer of the webbrowser control Pin
Yustme11-Mar-10 6:41
Yustme11-Mar-10 6:41 
QuestionNeed help on how to loop through the following code to find the nearest number above in comparison to another Pin
suprsnipes10-Mar-10 23:48
suprsnipes10-Mar-10 23:48 
AnswerRe: Need help on how to loop through the following code to find the nearest number above in comparison to another Pin
OriginalGriff11-Mar-10 0:11
mveOriginalGriff11-Mar-10 0:11 

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.