summaryrefslogblamecommitdiffstats
path: root/src/emu/mem.h
blob: eea391ec737971282901749bc0831a6c220da2a1 (plain) (tree)
1
2
3
4
5
6
7
8



                   
                      
 
                    
                         





                                        

      
#ifndef _MEM_H
#define _MEM_H

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

extern uint8_t *MEM;
extern uint64_t mem_size;

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

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

#endif