UnivesalDisassembler(2003)
|
Table with 256 items (TableItem). Item is indexed by a byte in data section. More...
#include <instrset.h>
Public Member Functions | |
Table (Tables *t=NULL, Variables *v=NULL) | |
virtual | ~Table () |
TableItem * | Add (unsigned mask, unsigned tag, string value, string length) |
string | Decode (Section &data, Address addr, unsigned &size) |
Decode actual byte. input: data and address, output: decoded string and size of decoded data. | |
void | Reset () |
Resets all items' length. | |
Public Attributes | |
Tables * | tables |
Variables * | variables |
Table with 256 items (TableItem). Item is indexed by a byte in data section.
Definition at line 210 of file instrset.h.
Definition at line 469 of file instrset.cc.
Table::~Table | ( | ) | [virtual] |
Definition at line 477 of file instrset.cc.
TableItem * Table::Add | ( | unsigned | mask, |
unsigned | tag, | ||
string | value, | ||
string | length | ||
) |
Definition at line 490 of file instrset.cc.
References tables, and variables.
Referenced by Parser::Parse().
Decode actual byte. input: data and address, output: decoded string and size of decoded data.
Reimplemented from AbstractTable.
Definition at line 510 of file instrset.cc.
References TableItem::Decode(), and uint2hex().
void Table::Reset | ( | ) | [virtual] |
Resets all items' length.
Reimplemented from AbstractTable.
Definition at line 520 of file instrset.cc.
Definition at line 213 of file instrset.h.
Definition at line 214 of file instrset.h.