Implemented all opcodes, including LOADI and STOREI

This commit is contained in:
2017-01-24 19:47:19 +01:00
parent 1bd5b0a6da
commit 499b0539d3
5 changed files with 55 additions and 46 deletions

View File

@@ -6,7 +6,7 @@ struct t_stack {
int max{ 0 };
};
t_stack stack_new(const int size);
void stack_init(t_stack& stack, const int size);
const bool stack_isempty(t_stack& stack);
const bool stack_isfull(t_stack& stack);
void stack_push(t_stack& stack, const char value);