From d63b3046aee99574180b6e553e4c0d9c359ad1d3 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 12 May 2013 01:34:29 -0700 Subject: Fixed decoding of CHK destination --- 68kinst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '68kinst.c') diff --git a/68kinst.c b/68kinst.c index 699f112..8417c13 100644 --- a/68kinst.c +++ b/68kinst.c @@ -480,7 +480,7 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address) #endif } decoded->dst.addr_mode = MODE_REG; - decoded->dst.addr_mode = m68k_reg_quick_field(*istream); + decoded->dst.params.regs.pri = m68k_reg_quick_field(*istream); istream = m68k_decode_op(istream, decoded->extra.size, &(decoded->src)); if (!istream) { decoded->op = M68K_INVALID; -- cgit v1.2.3