Go to the documentation of this file.
56 wxGridTableBase(), program_(NULL), disassembler_(NULL) {
82 return lastAddress - firstAddress + 1;
96 return busCount + immSlotCount + 1;
127 std::pair<LabelMap::iterator, LabelMap::iterator> range =
129 LabelMap::iterator firstEqual = range.first;
130 LabelMap::iterator lastEqual = range.second;
131 while (firstEqual != lastEqual) {
137 }
else if (col > 0) {
138 Word address = (Word) row;
143 if (col < (busCount + 1)) {
148 if (col < (busCount + 1 + immCount)) {
184 if (col > 0 && col < (busCount + 1)) {
190 label += navigator.
item(col - 1)->name();
239 for (
int i = 0; i < labelCount; i++) {
242 std::string label = codeLabel.
name();
243 labels_.insert(std::pair<unsigned, string>(address, label));
virtual wxString GetRowLabelValue(int row)
Instruction & firstInstruction() const
virtual wxString GetColLabelValue(int col)
static wxString toWxString(const std::string &source)
virtual wxString GetValue(int row, int col)
Word longImmediateCount() const
LabelMap labels_
Program labels.
virtual bool IsEmptyCell(int row, int col)
void loadProgram(const TTAProgram::Program &program)
Word addressOfRow(int row)
int globalCodeLabelCount(Address address) const
virtual Address address() const
static std::string toString(const T &source)
const GlobalScope & globalScopeConst() const
virtual int GetNumberRows()
InstructionAddress location() const
virtual ImmediateSlotNavigator immediateSlotNavigator() const
int rowOfAddress(Word address)
virtual void SetValue(int row, int col, const wxString &value)
virtual BusNavigator busNavigator() const
TTAMachine::Machine & targetProcessor() const
virtual int GetNumberCols()
const TTAProgram::Program * program_
Program loaded in the table.
const CodeLabel & globalCodeLabel(Address address, int index) const
ComponentType * item(int index) const
virtual bool CanHaveAttributes()
DisassemblyInstructionSlot & move(Word index) const
find Finds info of the inner loops in the program
Instruction & lastInstruction() const
POMDisassembler * disassembler_
Disassembler for generating instruction disassemblies.
virtual std::string toString() const =0
DisassemblyImmediateAssignment & longImmediate(Word index) const
virtual ~DisassemblyGridTable()
virtual DisassemblyInstruction * createInstruction(Word instructionIndex) const