Add ret function

This commit is contained in:
2020-05-16 12:10:17 +02:00
parent 5d71a1316c
commit f9c43f19e6
6 changed files with 31 additions and 2 deletions

View File

@@ -66,6 +66,11 @@ namespace Interpret
FunctionCallStatement(std::string const & label);
};
struct ReturnFromFunctionStatement : Statement
{
void Execute(Execute::Flags & flags, Execute::State & state, Execute::Registers & registers) override;
};
struct SetStatement : Statement
{
Value firstArgument;