From f416b0845a1e16b19e9f1149e6207cd45841296c Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Fri, 28 Dec 2012 21:20:14 -0800 Subject: Implement pea (untested). --- 68kinst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '68kinst.c') diff --git a/68kinst.c b/68kinst.c index 2d4dc4e..cc20172 100644 --- a/68kinst.c +++ b/68kinst.c @@ -550,7 +550,7 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address) } else if((*istream & 0x1C0) == 0x40) { decoded->op = M68K_PEA; decoded->extra.size = OPSIZE_LONG; - istream = m68k_decode_op(istream, OPSIZE_LONG, &(decoded->dst)); + istream = m68k_decode_op(istream, OPSIZE_LONG, &(decoded->src)); } } break; -- cgit v1.2.3