UnivesalDisassembler(2003)
|
InstructionSet. (Facade, Singleton) More...
#include <instrset.h>
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 | |
Tables * | tables |
Variables * | variables |
InstructionSet. (Facade, Singleton)
Definition at line 89 of file instrset.h.
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.
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 | ) |
Definition at line 92 of file instrset.h.
Referenced by Decoder::Decode().
Definition at line 93 of file instrset.h.
Referenced by Decoder::Decode().