c++/rgb-assembler/commands/End.h
author František Kučera <franta-hg@frantovo.cz>
Sat, 23 Dec 2017 23:45:27 +0100
changeset 23 e85d2bfaff73
parent 22 c++/rgb-assembler/commands/Sleep.h@cb2055cdc2f0
child 29 10d6964e7b4a
permissions -rw-r--r--
END 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 }