flat assembler
Message board for the users of flat assembler.
Index
> Windows > DLL over intermediate language with C# |
Author |
|
l_inc 15 Mar 2015, 13:06
catafest
Please, elaborate. What exactly do you want to achieve? _________________ Faith is a superposition of knowledge and fallacy |
|||
15 Mar 2015, 13:06 |
|
catafest 15 Mar 2015, 17:49
l_inc wrote: catafest I try today LinqPad and this help me to see something more about assembling language under C# App. Can be this a good help over fasm coding with C# example ? For example I see one tutorial how has this source code : Code: .maxstack 2 .entrypoint ldstr "The sum of 50 and 30 is = " call void [mscorlib]System.Console::Write (string) ldc.i4.s 50 ldc.i4 30 add call void [mscorlib]System.Console::Write (int32) ret as you can see somethis it's like fasm : .maxstack 2 |
|||
15 Mar 2015, 17:49 |
|
l_inc 15 Mar 2015, 18:04
catafest
OK. So you want to write code using the .net byte code assembly language. It is possible to do with fasm, but you'd need to create a set of macros for that. Here's an example of this for Java bytecode. However to clarify my concerns: 1) It is possible to call the native x86/x64 code written in fasm from your C# code, if you compile your fasm source into a separate dll. 2) It is possible to link the native x86/x64 code written in fasm together with your C# project, if you compile your fasm source into an object file. _________________ Faith is a superposition of knowledge and fallacy |
|||
15 Mar 2015, 18:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.