diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-09-21 14:16:01 +0300 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-09-21 14:16:01 +0300 |
commit | c34cd59be89fb26e63fe959b98afabb4f24ba5bd (patch) | |
tree | 60531983cb0bfef27ab91cb3be41ebd40b324c9f /inc/mem.h |
init commit
Diffstat (limited to 'inc/mem.h')
-rw-r--r-- | inc/mem.h | 19 |
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 |