The picoJavaTM Assembler & Disassembler


Overview

The primary goal for the picoJava(TM) assembler & disassembler is to facilitate the verification of picoJava(TM) cores. Test cases written in Java(TM) & compiled by a java compiler are restricted by the Java Language Specification. The assembler allows the user to write a class with methods containing arbitrary code. The disassembler recognizes such class files & can generate the source code for them.

Requirement

To use the assembler & disassembler, you need to use a recent version of the Java runtime environment, compatible with JDK1.1.3 or higher. You will also need a Java compiler, such as javac. You can download a recent version of the JDK from java.sun.com.

Installation

set JASM_SRC_DIR = $DSVHOME/jasm
set JDIS_SRC_DIR = $DSVHOME/jdis
set INSTALL_DIR = $DSVHOME/classes
javac -d $INSTALL_DIR $JASM_SRC_DIR/*.java
javac -d $INSTALL_DIR $JDIS_SRC_DIR/*.java
alias jasm 'java com.sun.picojava.jasm.Main'
alias jdis 'java com.sun.picojava.jdis.Jdis'

Usage

  • Abridged Grammar
  • Mnemonics
  • Example
  • Frequently asked questions
    Copyright © 1999 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303-4900 USA. All rights reserved.


    Last modified 24-March-1999