view mem.h @ 51:937b47c9b79b

Implement shift instructions (asl, lsl, asr, lsr). Add flags to register printout. Fix minor bug in shift/rotate instruction decoding.
author Mike Pavone <pavone@retrodev.com>
date Sat, 15 Dec 2012 23:01:32 -0800
parents 2bdad0f52f42
children 140af5509ce7
line wrap: on
line source

#ifndef MEM_H_
#define MEM_H_

#include <stddef.h>

#define PAGE_SIZE 4096

void * alloc_code(size_t *size);

#endif //MEM_H_