summaryrefslogtreecommitdiff
path: root/68kinst.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2012-12-28 21:20:14 -0800
committerMike Pavone <pavone@retrodev.com>2012-12-28 21:20:14 -0800
commitf416b0845a1e16b19e9f1149e6207cd45841296c (patch)
tree16663fed01ef1bb97667a385b3a6c4c1430660c6 /68kinst.c
parentd168bccaf1d55ddb414f67adb5881dd5b5139ecb (diff)
Implement pea (untested).
Diffstat (limited to '68kinst.c')
-rw-r--r--68kinst.c2
1 files changed, 1 insertions, 1 deletions
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;