diff options
author | Mike Pavone <pavone@retrodev.com> | 2012-11-27 09:28:13 -0800 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2012-11-27 09:28:13 -0800 |
commit | 707e8f0e6a9d5518ecb91afdcc1cf26e35eb82a3 (patch) | |
tree | a9491003e628ebc692ed8779a8362a51a251c70f /m68k_to_x86.h | |
parent | d3590618c3889ed92db9d8e848820b52da68f9f2 (diff) |
x86 code gen, initial work on translator
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r-- | m68k_to_x86.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/m68k_to_x86.h b/m68k_to_x86.h new file mode 100644 index 0000000..c287d6f --- /dev/null +++ b/m68k_to_x86.h @@ -0,0 +1,16 @@ +#include <stdint.h> + +typedef struct { + uint32_t flags; + int8_t dregs[8]; + int8_t aregs[8]; +} x86_68k_options; + +typedef struct { + uint8_t flags[5]; + uint8_t status; + uint16_t reserved; + uint32_t dregs[8]; + uint32_t aregs[8]; +} m68k_context; + |