c++/rgb-assembler/commands/End.h
author František Kučera <franta-hg@frantovo.cz>
Sun, 24 Dec 2017 00:08:55 +0100
changeset 26 47ee91579133
parent 23 e85d2bfaff73
child 29 10d6964e7b4a
permissions -rw-r--r--
INCREMENT and DECREMENT in class
     1 #pragma once
     2 
     3 #include <wchar.h>
     4 #include <chrono>
     5 #include <thread>
     6 
     7 #include "../Command.h"
     8 #include "../memory.h"
     9 
    10 using namespace std;
    11 
    12 namespace commands {
    13 
    14 class End : public Command {
    15 public:
    16 
    17 	void process(octet_t* memory, address_t& index) override {
    18 		wprintf(L"END\n");
    19 		index = MEMORY_SIZE;
    20 	}
    21 private:
    22 
    23 };
    24 
    25 }