Mercurial > repos > blastem
comparison gen_x86.h @ 550:96489fb27dbf
Apart from the Z80 core, BlastEm now supports 32-bit x86
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 19 Feb 2014 00:22:27 -0800 |
parents | 0bf5e6b672fe |
children | 8e395210f50f |
comparison
equal
deleted
inserted
replaced
549:32da1e0d5e55 | 550:96489fb27dbf |
---|---|
54 SZ_B = 0, | 54 SZ_B = 0, |
55 SZ_W, | 55 SZ_W, |
56 SZ_D, | 56 SZ_D, |
57 SZ_Q | 57 SZ_Q |
58 } x86_size; | 58 } x86_size; |
59 | |
60 #ifdef X86_64 | |
61 #define SZ_PTR SZ_Q | |
62 #else | |
63 #define SZ_PTR SZ_D | |
64 #endif | |
59 | 65 |
60 enum { | 66 enum { |
61 MODE_REG_INDIRECT = 0, | 67 MODE_REG_INDIRECT = 0, |
62 MODE_REG_INDEXED = 4, | 68 MODE_REG_INDEXED = 4, |
63 MODE_REG_DISPLACE8 = 0x40, | 69 MODE_REG_DISPLACE8 = 0x40, |