Class DisassembleAction

  extended byavrora.util.help.HelpCategory
      extended byavrora.actions.Action
          extended byavrora.actions.DisassembleAction
All Implemented Interfaces:

public class DisassembleAction
extends Action

The DisassembleAction class represents an action that allows the user to disassemble a binary file and display the instructions. This is useful for debugging the disassembler and also for inspecting binaries.

Field Summary
Fields inherited from class avrora.actions.Action
Fields inherited from class avrora.util.help.HelpCategory
COMPARATOR, help, name
Constructor Summary
Method Summary
 void run(java.lang.String[] args)
          The run() method executes the 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

Constructor Detail


public DisassembleAction()
Method Detail


public void run(java.lang.String[] args)
         throws java.lang.Exception
The run() method executes the action. The arguments on the command line are passed. The Disassemble action expects the first argument to be the name of the file to disassemble.

Specified by:
run in class Action
args - the command line arguments
java.lang.Exception - if there is a problem reading the file or disassembling the instructions in the file