OpenASIP  2.0
Public Member Functions | Protected Member Functions | List of all members
Disassembler Class Referenceabstract

#include <Disassembler.hh>

Collaboration diagram for Disassembler:
Collaboration graph

Public Member Functions

virtual ~Disassembler ()
 
virtual DisassemblyInstructioncreateInstruction (Word instructionIndex) const =0
 Creates disassembler instruction. More...
 
virtual Word startAddress () const =0
 Returns address of the first instruction. More...
 
virtual Word instructionCount () const =0
 Returns number of instructions that are available. More...
 

Protected Member Functions

 Disassembler ()
 

Detailed Description

An abstract baseclass for disassemblers.

Definition at line 43 of file Disassembler.hh.

Constructor & Destructor Documentation

◆ ~Disassembler()

Disassembler::~Disassembler ( )
virtual

Destructor.

Definition at line 46 of file Disassembler.cc.

46  {
47 }

◆ Disassembler()

Disassembler::Disassembler ( )
protected

Constructor.

Definition at line 39 of file Disassembler.cc.

39  {
40 }

Member Function Documentation

◆ createInstruction()

virtual DisassemblyInstruction* Disassembler::createInstruction ( Word  instructionIndex) const
pure virtual

Creates disassembler instruction.

◆ instructionCount()

virtual Word Disassembler::instructionCount ( ) const
pure virtual

Returns number of instructions that are available.

◆ startAddress()

virtual Word Disassembler::startAddress ( ) const
pure virtual

Returns address of the first instruction.


The documentation for this class was generated from the following files: