diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-10-12 19:03:05 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-10-12 19:03:05 -0700 |
commit | 92486a76659f4acd7995d31b11a6bc6cc8621939 (patch) | |
tree | e9eecbddf74a2982559dcabce2fe047edebdb163 /68kinst.h | |
parent | 821106e3e1946d0016f02cfeaf4f2c3ca7200ddb (diff) |
Add support for 68020 bitfield instructions
Diffstat (limited to '68kinst.h')
-rw-r--r-- | 68kinst.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -186,6 +186,9 @@ typedef enum { 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 @@ typedef enum { #endif typedef struct { - uint8_t addr_mode; +#ifdef M68020 + uint16_t bitfield; +#endif + uint8_t addr_mode; union { struct { uint8_t pri; |