c++/rgb-assembler/Command.h
changeset 31 b997cbf9e30b
parent 29 10d6964e7b4a
child 32 78c4d6b53499
     1.1 --- a/c++/rgb-assembler/Command.h	Sun Dec 24 00:47:34 2017 +0100
     1.2 +++ b/c++/rgb-assembler/Command.h	Mon Dec 25 00:24:07 2017 +0100
     1.3 @@ -24,11 +24,8 @@
     1.4  class Command {
     1.5  public:
     1.6  	/**
     1.7 -	 * Process command at given address, read parameters if any. And shift address to new one (after last parameter)
     1.8 +	 * Process command at given address, read parameters if any.
     1.9  	 * @param memory
    1.10 -	 * @param index address of the command in the memory
    1.11  	 */
    1.12 -	virtual void process(octet_t * memory, address_t &index) = 0;
    1.13 -private:
    1.14 -
    1.15 +	virtual void process(Memory &memory) = 0;
    1.16  };