As mentioned in the
FAQ, you cannot call directly from a java program to an assembler program. You must use the Java Native Interface (JNI) which only officially supports calling a C program. To call a non-java program, you declare a java method using the native method modifier.