summaryrefslogtreecommitdiff
path: root/68kinst.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-28 09:00:42 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-28 09:00:42 -0700
commit5889c419383e08aa540acbd8dc28fe2ff43ed48c (patch)
tree0ff37f91183e6c04d179d9aa052931145e69efb2 /68kinst.c
parent557a468dcccfc1d1e4ccc067b31f812478236077 (diff)
Implemented A line and F line traps.
Diffstat (limited to '68kinst.c')
-rw-r--r--68kinst.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/68kinst.c b/68kinst.c
index b1a2f37..1e15e80 100644
--- a/68kinst.c
+++ b/68kinst.c
@@ -1221,7 +1221,8 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address)
}
}
break;
- case RESERVED:
+ case A_LINE:
+ decoded->op = M68K_A_LINE_TRAP;
break;
case CMP_XOR:
size = (*istream >> 6) & 0x3;
@@ -1540,8 +1541,9 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address)
#endif
}
break;
- case COPROC:
- //TODO: Implement me
+ case F_LINE:
+ //TODO: Decode FPU instructions for members of the 68K family with an FPU
+ decoded->op = M68K_F_LINE_TRAP;
break;
}
if (decoded->op == M68K_INVALID) {