diff 68kinst.c @ 992:261995d06897

Implemented A line and F line traps.
author Michael Pavone <pavone@retrodev.com>
date Thu, 28 Apr 2016 09:00:42 -0700
parents 902c53d9c16f
children 054472ea077a
line wrap: on
line diff
--- a/68kinst.c	Wed Apr 27 23:57:00 2016 -0700
+++ b/68kinst.c	Thu Apr 28 09:00:42 2016 -0700
@@ -1221,7 +1221,8 @@
 			}
 		}
 		break;
-	case RESERVED:
+	case A_LINE:
+		decoded->op = M68K_A_LINE_TRAP;
 		break;
 	case CMP_XOR:
 		size = (*istream >> 6) & 0x3;
@@ -1540,8 +1541,9 @@
 #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) {