Files
wassembly/include/execute/state.hpp

17 lines
389 B
C++

#pragma once
#include <execute/interrupts.hpp>
#include <string>
#include <unordered_map>
namespace Execute
{
struct State
{
unsigned currentStatement;
unsigned nextStatement;
std::unordered_map<std::string, unsigned> const & labelStatementIndice;
std::vector<InterruptFn> const interrupts;
State(std::unordered_map<std::string, unsigned> const & labelStatementIndice);
};
}