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