avrora.actions
Class ISDLAction

java.lang.Object
  extended byavrora.util.help.HelpCategory
      extended byavrora.actions.Action
          extended byavrora.actions.ISDLAction
All Implemented Interfaces:
HelpItem

public class ISDLAction
extends Action

The ISDLAction class implements an action to load an instruction set description from a file and perform various actions with it, including generating the Instr classes and generating an interpreter.


Field Summary
 Option.Str CLASSES
           
 Option.Str CODEMAP
           
 Option.Str DISASSEM
           
 Option.Str DISTEST
           
static java.lang.String HELP
           
 Option.Bool INLINE
           
 Option.Str INTERPRETER
           
 
Fields inherited from class avrora.actions.Action
options
 
Fields inherited from class avrora.util.help.HelpCategory
COMPARATOR, help, name
 
Constructor Summary
ISDLAction()
           
 
Method Summary
 void run(java.lang.String[] args)
          The run() method executes the ISDL processor action.
 
Methods inherited from class avrora.actions.Action
newOption, newOption, newOption, newOption, newOption, newOptionList
 
Methods inherited from class avrora.util.help.HelpCategory
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP

public static final java.lang.String HELP
See Also:
Constant Field Values

CLASSES

public final Option.Str CLASSES

INTERPRETER

public final Option.Str INTERPRETER

CODEMAP

public final Option.Str CODEMAP

INLINE

public final Option.Bool INLINE

DISASSEM

public final Option.Str DISASSEM

DISTEST

public final Option.Str DISTEST
Constructor Detail

ISDLAction

public ISDLAction()
Method Detail

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
The run() method executes the ISDL processor action. The command line arguments are passed. The ISDL processor expects the first argument to be the name of a file that contains the description of an instruction set.

Specified by:
run in class Action
Parameters:
args - the arguments on the command line
Throws:
java.lang.Exception - if there is a problem loading the file or reading or verifying the ISDL