summaryrefslogtreecommitdiff
path: root/inc/mem.h
blob: 50a0a17cfaeb008d76cd8e4b6a96d6af747cc0cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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