at.dms.ksm
Class Assembler

java.lang.Object
  |
  +--at.dms.ksm.Assembler

public class Assembler
extends java.lang.Object

This class is the entry point for the KOPI assembler.


Constructor Summary
Assembler()
           
 
Method Summary
 void assemble(java.lang.String sourceFile, java.lang.String destination, int optimize)
          Assembles an assembly language file to a class file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assembler

public Assembler()
Method Detail

assemble

public void assemble(java.lang.String sourceFile,
                     java.lang.String destination,
                     int optimize)
              throws KsmError
Assembles an assembly language file to a class file.
Parameters:
sourceFile - The name of the assembly language file.
destination - The directory root to place the classfile.
Throws:
KsmError - An error occurred.