Re: java assembler??

Roderick Bloem <>
30 Apr 2005 15:42:49 -0400

          From comp.compilers

Related articles
java assembler?? (malinda) (2005-04-30)
Re: java assembler?? (Roderick Bloem) (2005-04-30)
| List of all articles for this month |

From: Roderick Bloem <>
Newsgroups: comp.compilers
Date: 30 Apr 2005 15:42:49 -0400
Organization: Compilers Central
References: 05-04-103
Keywords: Java, tools
Posted-Date: 30 Apr 2005 15:42:49 EDT

Have a look at the following set of tools: - converts ascii version of byte code to a
class file - Emacs plugin for Jasmin, with
syntax highlighting - Jasper converts class files
to Jasmin - Bcel contains a byte-code
verifier that produces readable error messages.

and perhaps - Some more
java disassemblers

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,


malinda wrote:
> 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!!!!

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.