Integrating assembly code in JNI