1 #ifndef INTERPRETER_CONTROLOPCODES_H_INCLUDED
2 #define INTERPRETER_CONTROLOPCODES_H_INCLUDED
56 throw std::logic_error (
"infinite loop");
69 throw std::logic_error (
"infinite loop");
virtual void execute(Runtime &runtime, unsigned int arg0)
Definition: controlopcodes.hpp:66
Definition: controlopcodes.hpp:21
void pop()
pop stack
Definition: runtime.cpp:94
Runtime data and engine interface.
Definition: runtime.hpp:15
virtual void execute(Runtime &runtime)
Definition: controlopcodes.hpp:25
opcode for 0 arguments
Definition: opcodes.hpp:9
virtual void execute(Runtime &runtime)
Definition: controlopcodes.hpp:39
Definition: controlopcodes.hpp:62
Definition: controlopcodes.hpp:35
int getPC() const
return program counter.
Definition: runtime.cpp:11
Definition: controlopcodes.hpp:49
Definition: controlopcodes.hpp:11
void setPC(int PC)
set program counter.
Definition: runtime.cpp:70
virtual void execute(Runtime &runtime, unsigned int arg0)
Definition: controlopcodes.hpp:53
opcode for 1 argument
Definition: opcodes.hpp:19
virtual void execute(Runtime &runtime)
Definition: controlopcodes.hpp:15