Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Assembly code


  • Please log in to reply
2 replies to this topic

#1 AndreyS

AndreyS

    New Member

  • Members
  • Pip
  • 2 posts

Posted 04 August 2014 - 12:24 AM

I have Visual Studio 2010 installed and Netduino 2.

Is there any way to view project's assembly code?



#2 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 04 August 2014 - 06:08 AM

Well, there is no assembly generated for the application - it is compiled [by .NET compiler, either C# or VB.NET] to assembly (.dll) which contains Common Intermediate Language (CIL), formerly called Microsoft Intermediate Language (MSIL). The current implementation of .NET Micro Framework does not have Just-In-Time compilation (that produces native assembly), the intermediate language code is interpreted.

 

You can use tools like ildasm.exe (part of the .NET Framework SDK, also installed with Visual Studio), .NET Reflector or any of its alternatives to view the contents of the .NET assembly, including the intermediate language disassembly.



#3 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 04 August 2014 - 06:11 AM

Have you tried tools such as ilspy or JustDecompiler to have a look at the intermediate language (IL).  The IL is the closest you'll get to assembly code in .NET.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.