pyvesb / javassembly Goto Github PK
View Code? Open in Web Editor NEW:floppy_disk: Calling Assembly from Java: simple example using the JNI and NASM.
License: MIT License
:floppy_disk: Calling Assembly from Java: simple example using the JNI and NASM.
License: MIT License
Hi Pyves!
I am trying some thing very similar to this code, we are working on a legacy migration project.
Cobol to JAVA (we use a tool that help in this) . Some of cobol programs are calling the Assembly programs in its inner level.
So for such Assembly code, the tool we use will not handle and we need a mechanism to call it as it is from Java converted code.
Please put your thoughts here.
We need only in windows, because that is the target production environment
Sorry new to assembly in all shapes.
I was actually doing the same thing as you are but relying on Jna natives, then just went for a simple flip to your method when I realized how short you made it.
Your asm arraysum is giving me the error only on line
global Java_JNIArraySum_computeNativeArraySum
It's probably a FASM thing? There's usually some declaring at the top, like:
format PE GUI 4.0
entry start
include 'win32a.inc'
I added this and it still brought be to the above line. Is this just a FASM thing? Sorry I know in the read me you didn't mention FASM
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.