Added getMnemoric(): Retrieves a textual description of the current instruction.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1269 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-05-24 11:44:08 +00:00
parent 075b1344a7
commit 03d8688241
2 changed files with 31 additions and 3 deletions

View File

@ -1,9 +1,6 @@
#ifndef __REGISTER_HPP__
#define __REGISTER_HPP__
// Author: Adrian Böckenkamp
// Date: 06.09.2011
#include <vector>
#include <cstdlib>
#include <cassert>
@ -272,6 +269,14 @@ class RegisterManager
* @return the base pointer
*/
virtual address_t getBasePointer() = 0;
/**
* Retrieves the textual description (mnemoric) for the current
* instruction.
* The format of the returned string is simulator-specific.
* @return the mnemoric of the current instruction whose address
* is given by \c getInstructionPointer().
*/
virtual const std::string& getMnemoric() const = 0;
};
} // end-of-namespace: sal