ARM code instruction on Windows Mobile

  • Thread starter Thread starter Sammy Yu
  • Start date Start date
S

Sammy Yu

Hi guys,
I'm trying to develop a virtual machine monitor for a research
project. My goal is to be able to execute ARM instructions that are
generated dynamically from my C# compact framework application. I saw
saw the method Marshal.GetDelegateForFunctionPointer as mentioned
here: http://mark.michaelis.net/Blog/WowCIsAmazing.aspx. However, it
is non-existent on the compact framework. Is there an alternative to
this method to this? I check out the possibility of building a
native DLL, however it seems like inline assembly is not allowed/
support.

Thanks in advance for your help.

Best Regards,
Sammy Yu
 
No, inline assembly isn't allowed (I'm not sure how that would help, anyway,
though). You can use ARM assembly language; you just have to put the
assembly code in a separate .s file, rather than doing it inline from C.

Paul T.
 
Back
Top