17 lines
263 B
C++
17 lines
263 B
C++
#pragma once
|
|
#include <execute/registers.hpp>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace Execute
|
|
{
|
|
struct State
|
|
{
|
|
bool terminated;
|
|
Registers registers;
|
|
std::vector<std::uint8_t> memory;
|
|
|
|
void PushToStack(int const value);
|
|
int PopFromStack();
|
|
};
|
|
} |