asm
Class Asm

java.lang.Object
  |
  +--asm.Asm

public class Asm
extends java.lang.Object

Entry point to the assembler. Really defers most of the work to the CUP generated parser object. The following arguments are meaningful:

  1. --version: print the version and exit
  2. --bare: dump a bare executable, rather than object file (deprecated)
  3. --verbose: print lots of messages
  4. -O: perform peephole optimizations

Version:
$Id: Asm.java,v 1.3 2003/01/21 01:36:07 dugan Exp $

Field Summary
(package private) static boolean bare
           
(package private) static java.lang.String inFileName
           
(package private) static boolean opt
           
(package private) static java.lang.String outFileName
           
(package private) static boolean verbose
           
 
Constructor Summary
Asm()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void parseArgs(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inFileName

static java.lang.String inFileName

outFileName

static java.lang.String outFileName

bare

static boolean bare

verbose

static boolean verbose

opt

static boolean opt
Constructor Detail

Asm

public Asm()
Method Detail

parseArgs

public static void parseArgs(java.lang.String[] args)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception