comparison 68kinst.h @ 14:2bdad0f52f42

x86 code gen, initial work on translator
author Mike Pavone <pavone@retrodev.com>
date Tue, 27 Nov 2012 09:28:13 -0800
parents 4553fc97b15e
children c0f339564819
comparison
equal deleted inserted replaced
13:168b1a873895 14:2bdad0f52f42
1 #ifndef M68KINST_H_
2 #define M68KINST_H_
3
1 #include <stdint.h> 4 #include <stdint.h>
2 5
3 typedef enum { 6 typedef enum {
4 BIT_MOVEP_IMMED = 0, 7 BIT_MOVEP_IMMED = 0,
5 MOVE_BYTE, 8 MOVE_BYTE,
174 177
175 uint16_t * m68K_decode(uint16_t * istream, m68kinst * dst); 178 uint16_t * m68K_decode(uint16_t * istream, m68kinst * dst);
176 uint32_t m68k_cycles(m68kinst * inst); 179 uint32_t m68k_cycles(m68kinst * inst);
177 int m68K_disasm(m68kinst * decoded, char * dst); 180 int m68K_disasm(m68kinst * decoded, char * dst);
178 181
182 #endif
183