diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-04-28 09:00:42 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-04-28 09:00:42 -0700 |
commit | 5889c419383e08aa540acbd8dc28fe2ff43ed48c (patch) | |
tree | 0ff37f91183e6c04d179d9aa052931145e69efb2 /68kinst.c | |
parent | 557a468dcccfc1d1e4ccc067b31f812478236077 (diff) |
Implemented A line and F line traps.
Diffstat (limited to '68kinst.c')
-rw-r--r-- | 68kinst.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) { |