diff -r f049c3d3244d -r b997cbf9e30b c++/rgb-assembler/Command.h --- a/c++/rgb-assembler/Command.h Sun Dec 24 00:47:34 2017 +0100 +++ b/c++/rgb-assembler/Command.h Mon Dec 25 00:24:07 2017 +0100 @@ -24,11 +24,8 @@ class Command { public: /** - * Process command at given address, read parameters if any. And shift address to new one (after last parameter) + * Process command at given address, read parameters if any. * @param memory - * @param index address of the command in the memory */ - virtual void process(octet_t * memory, address_t &index) = 0; -private: - + virtual void process(Memory &memory) = 0; };