summaryrefslogtreecommitdiff
path: root/inc/mem.h
blob: 4ebdf6131b97d838cfa377511201a5bf85fc5424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __MEM_H__
#define __MEM_H__

#define MEM_SIZE 30000

struct mem_st {
    char arr[MEM_SIZE];
    int pos;
};

int mem_pos();

int mem_inc();
int mem_dec();

int mem_left();
int mem_right();

int mem_get();
int mem_set(char v);

void mem_printDebug();


//Added
//int mem_add(int amout);
//int mem_move(int amout);

#endif