mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-27 08:11:55 +00:00
Implementing an array of instructions with method's pointer for the CPU (it does not work well for now
This commit is contained in:
@@ -8,11 +8,12 @@
|
||||
#include <exception>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include "DebuggableError.hpp"
|
||||
|
||||
namespace ComSquare
|
||||
{
|
||||
//! @brief Exception thrown when someone tries to load an invalid rom.
|
||||
class InvalidOpcode : public std::exception {
|
||||
class InvalidOpcode : public DebuggableError {
|
||||
private:
|
||||
std::string _msg;
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user