summaryrefslogtreecommitdiff
path: root/inc/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/mem.h')
-rw-r--r--inc/mem.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/inc/mem.h b/inc/mem.h
new file mode 100644
index 0000000..50a0a17
--- /dev/null
+++ b/inc/mem.h
@@ -0,0 +1,19 @@
+#ifndef __MEM_H__
+#define __MEM_H__
+
+#define MEM_SIZE 30000
+
+struct mem_st {
+ char arr[MEM_SIZE];
+ int pos;
+};
+
+int mem_inc();
+int mem_dec();
+int mem_left();
+int mem_right();
+int mem_get();
+int mem_set(char v);
+void mem_printDebug();
+
+#endif