From 5889c419383e08aa540acbd8dc28fe2ff43ed48c Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 28 Apr 2016 09:00:42 -0700 Subject: Implemented A line and F line traps. --- 68kinst.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '68kinst.c') 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) { -- cgit v1.2.3