Re: mixing java and asm



On Nov 26, 3:19 pm, david s <spamt...@xxxxxxxxxx> wrote:
if i had a full java coded program, and i wanted one or several loops
to run with asm code, how would i go about doing that ? most of the
program will be in java, a very small part (but time consuming) will
be in asm.


Not sure if this helps and I do not recall where I got this from
{somewhere on the 'net}, but here is a tad bit of code:

http://nathancbaker.googlepages.com/javaasm.zip

Probably came from a blog. Just now doing a quick Google blog search
turns up this:

http://today.java.net/pub/a/today/2007/10/04/launch-java-applications-from-assembly-language-programs.html

Happy coding,

Nathan.

.



Relevant Pages

  • Re: mixing java and asm
    ... to run with asm code, how would i go about doing that? ... a very small part (but time consuming) will ... Look up Java Native Interface for your platform. ...
    (comp.lang.asm.x86)
  • Re: mixing java and asm
    ... to run with asm code, how would i go about doing that? ... Calls to native code from Java are done by means of the Java Native Interface, ... javah -jni foo ... assemble your code into a shared library by whatever means your favourite assembler and linker provide. ...
    (comp.lang.asm.x86)
  • Re: mixing java and asm
    ... This is opposite of what you are asking, but maybe it will help you. ... It is example of how to call Java from Assembly: ... david s napísal: ... to run with asm code, how would i go about doing that? ...
    (comp.lang.asm.x86)