Mercurial > repos > blastem
view mem.h @ 125:dc5fc3adf705
Fix encoding of movsx instruction when used with new (i.e. r9-r15) registers. This fixes the indexed addressing modes when used with a word-wide index register
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 29 Dec 2012 22:11:28 -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_