summaryrefslogtreecommitdiff
path: root/68kinst.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-12-03 09:26:07 -0800
committerMichael Pavone <pavone@retrodev.com>2014-12-03 09:26:07 -0800
commit1a37b36e7285a87e49c00f12f746d80a36041e59 (patch)
tree5a031e5651bc3407af71d0c40ca2255b490eb636 /68kinst.c
parent56416afb69f0aa098e252e63c65ce6cd7bcc64c6 (diff)
Unbreak PC indexed addressing modes in decoder
Diffstat (limited to '68kinst.c')
-rw-r--r--68kinst.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/68kinst.c b/68kinst.c
index eaeb2e4..a05c75c 100644
--- a/68kinst.c
+++ b/68kinst.c
@@ -140,15 +140,6 @@ uint16_t *m68k_decode_op_ex(uint16_t *cur, uint8_t mode, uint8_t reg, uint8_t si
dst->params.immed = ext << 16 | *(++cur);
break;
case 3:
-#ifdef M68020
- //TODO: Implement me for M68020+ support;
-#else
- dst->addr_mode = MODE_PC_INDEX_DISP8;
- ext = *(++cur);
- dst->params.regs.sec = ext >> 11;//includes areg/dreg bit, reg num and word/long bit
- dst->params.regs.displacement = sign_extend8(ext&0xFF);
-#endif
-
ext = *(++cur);
dst->params.regs.sec = ext >> 11;//includes areg/dreg bit, reg num and word/long bit
#ifdef M68020