See previous related discussion:
There I asked:
Do you mean you want to write your own JVM bytecode? Or do you mean calling out to a C library with inline assembly from Processing, e.g. through JNI?
I still want to know that. Do you understand that Java runs as bytecode on JVM?