UnivesalDisassembler(2003)

InstructionSet Class Reference

InstructionSet. (Facade, Singleton) More...

#include <instrset.h>

List of all members.

Public Member Functions

 InstructionSet ()
 creates tables and variables
 ~InstructionSet ()
 frees tables and variables
int LoadFile (const string filename)
 fills tables and variables
void Load (const string processor)
 load instruction set from file corresponding to processor
void Clear ()
 clear instruction set

Public Attributes

Tablestables
Variablesvariables

Detailed Description

InstructionSet. (Facade, Singleton)

Definition at line 89 of file instrset.h.


Constructor & Destructor Documentation

InstructionSet::InstructionSet ( )

creates tables and variables

Definition at line 46 of file instrset.cc.

InstructionSet::~InstructionSet ( )

frees tables and variables

Definition at line 86 of file instrset.cc.


Member Function Documentation

void InstructionSet::Clear ( )

clear instruction set

Definition at line 124 of file instrset.cc.

void InstructionSet::Load ( const string  processor)

load instruction set from file corresponding to processor

find all files in the directory and loads them

Definition at line 112 of file instrset.cc.

References basedir, defaultinstrset, and instrsetdirectory.

Referenced by main().

int InstructionSet::LoadFile ( const string  filename)

fills tables and variables

Definition at line 94 of file instrset.cc.

References debug.


Member Data Documentation

Definition at line 92 of file instrset.h.

Referenced by Decoder::Decode().

Definition at line 93 of file instrset.h.

Referenced by Decoder::Decode().


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