Mercurial > repos > blastem
diff 68kinst.h @ 636:22e357678fad
Add support for 68020 bitfield instructions
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 12 Oct 2014 19:03:05 -0700 |
parents | 4a6ec64acd79 |
children | d8d58eced22f |
line wrap: on
line diff
--- a/68kinst.h Sun Oct 12 19:02:47 2014 -0700 +++ b/68kinst.h Sun Oct 12 19:03:05 2014 -0700 @@ -186,6 +186,9 @@ MODE_IMMEDIATE_WORD,//used to indicate an immediate operand that only uses a single extension word even for a long operation MODE_UNUSED } m68k_addr_modes; +#ifdef M68020 +#define M68K_FLAG_BITFIELD 0x80 +#endif typedef enum { COND_TRUE, @@ -233,7 +236,10 @@ #endif typedef struct { - uint8_t addr_mode; +#ifdef M68020 + uint16_t bitfield; +#endif + uint8_t addr_mode; union { struct { uint8_t pri;