summaryrefslogtreecommitdiff
path: root/68kinst.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-04 19:13:12 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-04 19:13:12 -0800
commit854a8a9abf29e5cab28871f7a81d0fd1e7474b3d (patch)
tree54651ed6d72de7191718ba8e26e015e2ee2720ef /68kinst.h
parente54fddc285255b26e7e0ca69db3efb009cfc9c15 (diff)
M68K to x86 translation works for a limited subset of instructions and addressing modes
Diffstat (limited to '68kinst.h')
-rw-r--r--68kinst.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/68kinst.h b/68kinst.h
index 842ab12..209ea29 100644
--- a/68kinst.h
+++ b/68kinst.h
@@ -169,13 +169,14 @@ typedef struct {
uint8_t size;
uint8_t cond;
} extra;
+ uint32_t address;
m68k_op_info src;
m68k_op_info dst;
} m68kinst;
-uint16_t * m68K_decode(uint16_t * istream, m68kinst * dst);
+uint16_t * m68k_decode(uint16_t * istream, m68kinst * dst, uint32_t address);
uint32_t m68k_cycles(m68kinst * inst);
-int m68K_disasm(m68kinst * decoded, char * dst);
+int m68k_disasm(m68kinst * decoded, char * dst);
#endif