|java assembler?? email@example.com (malinda) (2005-04-30)|
|Re: java assembler?? firstname.lastname@example.org (Roderick Bloem) (2005-04-30)|
|From:||Roderick Bloem <email@example.com>|
|Date:||30 Apr 2005 15:42:49 -0400|
|Posted-Date:||30 Apr 2005 15:42:49 EDT|
Have a look at the following set of tools:
http://jasmin.sourceforge.net - converts ascii version of byte code to a
http://www.neilvandyke.org/jasmin-emacs/ - Emacs plugin for Jasmin, with
http://www.angelfire.com/tx4/cus/jasper/ - Jasper converts class files
http://jakarta.apache.org/bcel/index.html - Bcel contains a byte-code
verifier that produces readable error messages.
and perhaps http://mindprod.com/jgloss/disassembler.html - Some more
The tools don't quite use the syntax you use, I think, but they work
like a charme. We used them last year in a compiler construction class.
The students produced a Pascal compiler that produced the Jasmin ascii
form of byte code. They used Jasmin to compile that to class files.
Doing that, we obviously needed tools to see what the Java compiler
does, to change that, and to recompile the result. Bcel is very
useful as it gives you better error messages for incorrect byte code.
Hope that helps,
> basicaly I want to get the output of "Hello World" by giving the
> below byte code instructions to the JVM (what I need to do is that
> assemble the byte code which was disassembled and make it to the
> .class format so I can run the above programme through JVM ) ...
> If somebodyt know about a java tool I can use to assemble the code
> wich i disassembled please advice me!!!!
Return to the
Search the comp.compilers archives again.