I've succeeded with the integration of java and C++, but I don't know how to do it with asm.
Does anybody know an efficient way of calling assembly from java and vice versa?
Posted on 2007-10-06 17:50:47 by acetyl

I've succeeded with the integration of java and C++, but I don't know how to do it with asm.
Does anybody know an efficient way of calling assembly from java and vice versa?


Same as you would for C/C++. Use callable dynamic libraries (e.g. dll) and make sure that exported/external names are properly decorated.

I know very little Java, just enough to avoid it, so I point you to THIS link :)
Posted on 2007-10-06 18:30:10 by SpooK
thank you!
Posted on 2007-10-06 18:43:47 by acetyl
acetyl,

Look at the following thread, in fasm syntax, by the author of fasm--the flat assembler!

http://board.flatassembler.net/topic.php?t=6367

hth,

farrier
Posted on 2007-10-07 14:40:02 by farrier