Jasmin is an actively used programming language created in 1997. Jasmin is an assembler for the Java Virtual Machine. It takes ASCII descriptions of Java classes, written in a simple assembler-like syntax using the Java Virtual Machine instruction set. It converts them into binary Java class files, suitable for loading by a Java runtime system.

23Years Old ?Users ?Jobs
  • the Jasmin website
  • Jasmin first appeared in 1997
  • file extensions for Jasmin include j
  • Have a question about Jasmin not answered here? Email me and let me know how I can help.

Example code from Linguist:

.class public op2
.super java/lang/Object
;
; standard initializer (calls java.lang.Object's initializer)
;
.method public <init>()V
aload_0
invokenonvirtual java/lang/Object/<init>()V
return
.end method

.method public static main([Ljava/lang/String;)V

.limit locals 1
.limit stack 5
BeginGlobal:
	.line 2
		getstatic		java/lang/System/out Ljava/io/PrintStream;
		ldc		0x1
		ldc		0x0
		iand
		invokevirtual		java/io/PrintStream/println(Z)V

	.line 3
		getstatic		java/lang/System/out Ljava/io/PrintStream;
		ldc		0x1
		ldc		0x0
		ior
		invokevirtual		java/io/PrintStream/println(Z)V

EndGlobal:
return
.end method

Trending Repos

repo stars description

Last updated January 25th, 2020

Edit Jasmin on GitHub