diff -r 17785b69430d -r b9ceffdcaf14 c++/rgb-assembler/commands/Goto.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c++/rgb-assembler/commands/Goto.h Sat Dec 23 23:24:51 2017 +0100 @@ -0,0 +1,20 @@ +#pragma once + +#include + +#include "../Command.h" + +namespace commands { + +class Goto : public Command { +public: + + void process(octet_t* memory, address_t& index) override { + index = read(memory, index); + wprintf(L"GOTO %*d\n", 5, index); + } +private: + +}; + +}