TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
steven
NA
24
41.8k
Who can somebody explain what IL directive "newobj" do in details?
Aug 3 2011 11:49 PM
C# code:
ClassX x = new ClassX();
IL code:
.entrypoint
// Code size 20 (0x14)
.maxstack 1
.locals init ([0] class CSharpExam.ClassX x)
IL_0000: nop
IL_0001: newobj instance void CSharpExam.ClassX::.ctor()
assembly code:
00000035 mov ecx,943738h
0000003a call FFAA1FAC
0000003f mov dword ptr [ebp-44h],eax
00000042 mov ecx,dword ptr [ebp-44h]
00000045 call FFABC108
0000004a mov eax,dword ptr [ebp-44h]
0000004d mov dword ptr [ebp-40h],eax
Here I paste the asembly code of it.
Reply
Answers (
3
)
Deploying asp.net 2010 ReportViewer problem in Win Server 2003 on IIS 6
How can Create a full package setup in vb.net window application and Sql server database store