Jasmin is a Java Assembler. It takes ASCII descriptions for Java classes, written in a simple assembler-like syntax. It converts them into binary Java .class class files suitable for loading into a Java Virtual Machine implementation.
It is a free open source assembler to create class files from human readable assembler-like syntax using the Java Virtual Machine instruction sets. Jasmin is not a Java programming language compiler.
It as an assembler takes ASCII descriptions of JVM Classes, written in a simple assembler-like syntax using the Java Virtual Machine instruction set. It converts them into binary JVM Class files, suitable for loading by a Java runtime system.
It is designed as a simple assembler, and has a clean easy-to-learn syntax with very few bells and whistles.
this assembler does little compile-time processing and checking of the input code. For example, it doesn’t check that classes you reference actually exist, or that your type signatures are well formed. it also lacks many of the feautures found in full macro assemblers. For example, it doesn’t inline mathematical expressions, perform variable substitutions, or support macros.
On the other hand, using Jasmin you can quickly try out nearly all of the features of the Java Virtual Machine, including methods, fields, subroutines, exception handlers, and so on. The Jasmin syntax is also readable and compact.
A Jasmin file is a sequence of statements, each separated by a newline. There are three types of statements: directives, instructions and labels. Jasmin files also contain comments, type signatures, class names, and number .
jasmin [-d <directory>] [-version] <file> [<file> …]
cyborg@cyborg:~$ sudo jasmin -d /home/cyborg Calculator.j