From c34cd59be89fb26e63fe959b98afabb4f24ba5bd Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Wed, 21 Sep 2022 14:16:01 +0300 Subject: init commit --- inc/mem.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 inc/mem.h (limited to 'inc/mem.h') 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 -- cgit v1.2.3