An Overview of MSIL
The .
NET architecture addresses an important need - language interoperability.
Instead of generating
native code that is specific to one platform, programming languages can generate code in MSIL
(Microsoft Intermediate Language)...
More
An Overview of MSIL
The .
NET architecture addresses an important need - language interoperability.
Instead of generating
native code that is specific to one platform, programming languages can generate code in MSIL
(Microsoft Intermediate Language) targeting the Common Language Runtime (CLR) to reap the rich
benefits provided by .
NET.
Advanced programmers occasionally peek into MSIL code when they are in doubt of what is
happening under the hood (using the Ildasm tool).
Therefore, it is essential that the C# programmer
understands the basics of MSIL.
This beginner-level article gives an overview of MSIL and debugging
with the Ildasm tool.
System Requirements
The programming examples in this article use C# as the source language for generating MSIL code,
and so the reader is expected to have some basic understanding of C#.
No prior exposure to MSIL is
necessary.
In addition, the reader is assumed to know what a stack data structure is.
It is preferable that
the reader has acce
Less