|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.tools.AutoTool
public class AutoTool
This class is the main() routine for the Automodel assembler / disassembler. It is invoked with the command: java -jar Cmpware.jar 'AutoModel class' -asm 'infile' 'outfile' or java -jar Cmpware.jar 'AutoModel class' -dasm 'infile' Currently only assembly and disassembly is supported. Other tools may be added to this interface, preserving the single executable entry point limitation in JAR files.
Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
| Constructor Summary | |
|---|---|
AutoTool()
|
|
| Method Summary | |
|---|---|
static AutoModel |
get(java.lang.String processorName)
This static method is used to return a newly allocated AutoModel object from the AutoModel class name string. |
static void |
main(java.lang.String[] args)
This is the main program which is used to assemble / disassemble from the command line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
| Constructor Detail |
|---|
public AutoTool()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - The command line args. Should be a flag
("-asm" of "-dasm") followed by an input filename
and an output filename (three strings).
public static AutoModel get(java.lang.String processorName)
throws ProcessorException
processorName - The name of the processor. This is the class
name of the Link class file under com.cmpware.cmp.models.
ProcessorException - if any problems we encountered
allocating the new Processorobject.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||