Explain Microsoft intermediate language (MSIL) Assembler?

E-mail Print PDF

Explain Microsoft intermediate language (MSIL) Assembler?

MSIL Assembler (Ilasm.exe) is a command line tool provides by .Net. The MSIL Assembler generates a portable executable (PE) file from MSIL assembly language. You can run the resulting executable, which contains MSIL and the required metadata, to determine whether the MSIL performs as expected.

 

Syntax
ilasm [options] filename [[options]filename...]
Parameters
filename The name of the .il source file. This file consists of metadata declaration directives and symbolic MSIL instructions.Multiple source file arguments can be supplied to produce a single PE file with Ilasm.exe.
options
/alignment=integer Sets FileAlignment to the value specified by integer in the NT Optional header.
/base=integer Sets ImageBase to the value specified by integer in the NT Optional header.
/clock Measures and reports the following compilation times in milliseconds for the specified .il source file
/debug Includes debug information.
/dll Specifies the name of the dll file that is generated as output.
/flags=integer Sets ImageFlags to the value specified by integer in the common language runtime header.
/key:keyFile Compiles filename with a strong signature using the private key contained in keyFile.
/key:@keySource Compiles filename with a strong signature using the private key produced at keySource.
/listing Produces a listing file on the standard output.
/nologo Suppresses the Microsoft startup banner display.
/output:file.ext Specifies the output file name and extension.
/quiet Specifies quiet mode; does not report assembly progress.
/resource:file.res Includes the specified resource file in *.res format in the resulting .exe or .dll file.
/subsystem=integer Sets subsystem to the value specified by integer in the NT Optional header.
/? Displays help at the command prompt.


Example:

ilasm TestFileName - produces the executable TestFileName.exe
or
ilasm myTestFile /dll - produces the executable TestFileName.dll


Trackback(0)
Comments (0)Add Comment

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy
Last Updated ( Monday, 25 February 2008 22:11 )  

Who's Online

We have 11 guests online

Subscribe Feeds

Enter your email address:

Sponsor Adds


 
 

Submit Article

We want to develop such a Community portal which will provide a good resource on latest hot technologies such as .NET, VB.NET, C#.NET, ADO.NET, ASP.NET, PHP, Flash, Photoshop. If you like to write for us, this guideline for you. please send your article, faqs on admin[at]xfunda.com

Adobe Gallery Photoshop Tutorials...

Photoshop Tutorial - Create Colorful Composition in Photoshop Photoshop Tutorial - Create Colorful Composition in Photoshop Photoshop Tutorial - Create Colorful Composition in Photoshop Category - Photoshop >> illustration and Art. ...
 
Photoshop Tutorial - Create a Nice Autumn Scenery in Photoshop Photoshop Tutorial - Create a Nice Autumn Scenery in Photoshop Photoshop Tutorial - Create a Nice Autumn Scenery in Photoshop Category - Photoshop >> illustration and Art. ...
 
Photoshop Tutorial - Create a Beautiful Lonely Fantasy Fairy Photoshop Tutorial - Create a Beautiful Lonely Fantasy Fairy Photoshop Tutorial - Create a Beautiful Lonely Fantasy Fairy Category - Photoshop >> illustration and Art. ...
 
Photoshop Tutorial - How To Create a Futuristic Sci-Fi Scene Photoshop Tutorial - How To Create a Futuristic Sci-Fi Scene Photoshop Tutorial - How To Create a Futuristic Sci-Fi Scene Category - Photoshop >> Photo Effects. ...
 
Photoshop Tutorial - Goddess cadeira photo effect in Photoshop Photoshop Tutorial - Goddess cadeira photo effect in Photoshop Photoshop Tutorial - Goddess cadeira photo effect in Photoshop Category - Photoshop >> Photo Effects. ...