From 854a8a9abf29e5cab28871f7a81d0fd1e7474b3d Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 4 Dec 2012 19:13:12 -0800 Subject: M68K to x86 translation works for a limited subset of instructions and addressing modes --- 68kinst.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '68kinst.h') 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 -- cgit v1.2.3