import gdb-1999-12-06 snapshot
[deliverable/binutils-gdb.git] / sim / d10v / simops.c
index d80c923889427b9555d9a21d830f83738285d382..9c1f3f65a1bf29e08c2f57d816ebd4ae43ec7a87 100644 (file)
@@ -1087,6 +1087,28 @@ OP_4E09 ()
   trace_output_flag ();
 }
 
+/* cpfg */
+void
+OP_4E0F ()
+{
+  uint8 val;
+  
+  trace_input ("cpfg", OP_FLAG_OUTPUT, OP_FLAG, OP_VOID);
+  
+  if (OP[1] == 0)
+    val = PSW_F0;
+  else if (OP[1] == 1)
+    val = PSW_F1;
+  else
+    val = PSW_C;
+  if (OP[0] == 0)
+    SET_PSW_F0 (val);
+  else
+    SET_PSW_F1 (val);
+
+  trace_output_flag ();
+}
+
 /* dbt */
 void
 OP_5F20 ()
This page took 0.023731 seconds and 4 git commands to generate.