.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
Post a Comment