.net - how do i write assembly code from c#? -


i want write string of assembly code in c# , have sent win32 api compile , execute , results back.

example:

string str = "mov 1,2;xor ebp,ebp"... 

sounds hard suggestion helpful.

i doubt there's win api compile & execute assembly. best write file, execute masm (or whatever it's called these days), link execute resulting program. can't imagine trying pretty last way try solve problem!

if want compare native & managed code, write 2 programs more or less same thing. there no reason generate assembly .net. can use suitable tool this. masm, debug etc.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -