summaryrefslogtreecommitdiffstats
path: root/src/emu/mem.h
blob: 985a838cccb16d8d016b1133c395972f81140ba8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _MEM_H
#define _MEM_H

#include <stdint.h>
#include <sys/types.h>

extern uint8_t *MEM;

void store(size_t addr, uint32_t value);
uint32_t load(size_t addr);

void push(uint32_t value);
uint32_t pop(void);

#endif