// // Created by imanol on 12/25/16. // #include #include #include "mem.h" uint16_t mem[MEMSIZE]; void dump_memory(uint16_t *dump) { memcpy(dump,mem,MEMSIZE*sizeof(uint16_t)); } void load_memory(uint16_t *dump) { memcpy(mem,dump,MEMSIZE*sizeof(uint16_t)); }