# Can I make my own library with my assembly code inside it and how would I do it

**URL:** <https://discourse.processing.org/t/can-i-make-my-own-library-with-my-assembly-code-inside-it-and-how-would-i-do-it/21515>\
**Category:** Project Guidance\
**Created:** [June 3, 2020, 12:41am UTC](https://discourse.processing.org/t/can-i-make-my-own-library-with-my-assembly-code-inside-it-and-how-would-i-do-it/21515 "2020-06-03T00:41:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [June 3, 2020, 4:14pm UTC](https://discourse.processing.org/t/can-i-make-my-own-library-with-my-assembly-code-inside-it-and-how-would-i-do-it/21515/4 "2020-06-03T16:14:51Z")

</div>

See previous related discussion:

> [@Simple Assembly](https://discourse.processing.org/t/simple-assembly/21330):
>
> \*\*Hello There, I just need a simple way to install assembly code in certain routines as long as Processing puts its variables in it’s Stack I am good 2 go I really don’t need a lot of stuff just to read and write to memory and access real-precision variables. I know how to use assembly language, I just need to be able to insert it in to my Application, I do not know how to build my own libraries (yet), but that is what I need a routine to read/write to memory and to do the coprocessor stuff in …

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?

---

_[View the full topic](https://discourse.processing.org/t/can-i-make-my-own-library-with-my-assembly-code-inside-it-and-how-would-i-do-it/21515)._
