sim: cr16: delete unused memory helpers
[deliverable/binutils-gdb.git] / sim / cr16 / simops.c
index 455d9fbbbd19b3f320da3e5616e003cae3937e10..a923192aab989331b496900013f0ca26be1b4101 100644 (file)
@@ -1,5 +1,5 @@
 /* Simulation code for the CR16 processor.
-   Copyright (C) 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2015 Free Software Foundation, Inc.
    Contributed by M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
 
    This file is part of GDB, the GNU debugger.
@@ -14,8 +14,8 @@
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
  
-   You should have received a copy of the GNU General Public License along
-   with this program. If not, see <http://www.gnu.org/licenses/>.  */
+   You should have received a copy of the GNU General Public License
+   along with this program. If not, see <http://www.gnu.org/licenses/>.  */
 
 
 #include "config.h"
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 
-#include "cr16_sim.h"
+#include "sim-main.h"
 #include "simops.h"
 #include "targ-vals.h"
 
-extern char *strrchr ();
+#ifdef TARGET_SYS_utime
+#include <utime.h>
+#endif
+#ifdef TARGET_SYS_wait
+#include <sys/wait.h>
+#endif
 
 enum op_types {
   OP_VOID,
   OP_CONSTANT3,
-  OP_CONSTANT3_OUTPUT,
   OP_UCONSTANT3,
-  OP_UCONSTANT3_OUTPUT,
-  OP_UCONSTANT3_1,
-  OP_UCONSTANT3_1_OUTPUT,
   OP_CONSTANT4,
-  OP_CONSTANT4_OUTPUT,
   OP_CONSTANT4_1,
-  OP_CONSTANT4_1_OUTPUT,
   OP_CONSTANT5,
-  OP_CONSTANT5_OUTPUT,
   OP_CONSTANT6,
-  OP_CONSTANT6_OUTPUT,
   OP_CONSTANT16,
-  OP_CONSTANT16_OUTPUT,
   OP_UCONSTANT16,
-  OP_UCONSTANT16_OUTPUT,
   OP_CONSTANT20,
-  OP_CONSTANT20_OUTPUT,
   OP_UCONSTANT20,
-  OP_UCONSTANT20_OUTPUT,
   OP_CONSTANT32,
-  OP_UCONSTANT32_OUTPUT,
   OP_UCONSTANT32,
-  OP_CONSTANT32_OUTPUT,
   OP_MEMREF,
   OP_MEMREF2,
   OP_MEMREF3,
 
   OP_DISP5,
-  OP_DISP5_OUTPUT,
   OP_DISP17,
-  OP_DISP17_OUTPUT,
   OP_DISP25,
-  OP_DISP25_OUTPUT,
   OP_DISPE9,
-  OP_DISPE9_OUTPUT,
   //OP_ABS20,
   OP_ABS20_OUTPUT,
   //OP_ABS24,
   OP_ABS24_OUTPUT,
 
   OP_R_BASE_DISPS16,
-  OP_R_BASE_DISPS16_OUTPUT,
   OP_R_BASE_DISP20,
-  OP_R_BASE_DISP20_OUTPUT,
   OP_R_BASE_DISPS20,
-  OP_R_BASE_DISPS20_OUTPUT,
   OP_R_BASE_DISPE20,
-  OP_R_BASE_DISPE20_OUTPUT,
 
   OP_RP_BASE_DISPE0,
-  OP_RP_BASE_DISPE0_OUTPUT,
   OP_RP_BASE_DISP4,
-  OP_RP_BASE_DISP4_OUTPUT,
   OP_RP_BASE_DISPE4,
-  OP_RP_BASE_DISPE4_OUTPUT,
   OP_RP_BASE_DISP14,
-  OP_RP_BASE_DISP14_OUTPUT,
   OP_RP_BASE_DISP16,
-  OP_RP_BASE_DISP16_OUTPUT,
   OP_RP_BASE_DISP20,
-  OP_RP_BASE_DISP20_OUTPUT,
   OP_RP_BASE_DISPS20,
-  OP_RP_BASE_DISPS20_OUTPUT,
   OP_RP_BASE_DISPE20,
-  OP_RP_BASE_DISPE20_OUTPUT,
 
   OP_R_INDEX7_ABS20,
-  OP_R_INDEX7_ABS20_OUTPUT,
   OP_R_INDEX8_ABS20,
-  OP_R_INDEX8_ABS20_OUTPUT,
 
   OP_RP_INDEX_DISP0,
-  OP_RP_INDEX_DISP0_OUTPUT,
   OP_RP_INDEX_DISP14,
-  OP_RP_INDEX_DISP14_OUTPUT,
   OP_RP_INDEX_DISP20,
-  OP_RP_INDEX_DISP20_OUTPUT,
   OP_RP_INDEX_DISPS20, 
-  OP_RP_INDEX_DISPS20_OUTPUT,
 
   OP_REG,
-  OP_REG_OUTPUT,
   OP_REGP,
-  OP_REGP_OUTPUT,
   OP_PROC_REG,
-  OP_PROC_REG_OUTPUT,
   OP_PROC_REGP,
-  OP_PROC_REGP_OUTPUT,
   OP_COND,
-  OP_COND_OUTPUT,
-  OP_RA,
-  OP_RA_OUTPUT
+  OP_RA
 };
 
 
@@ -169,7 +138,7 @@ enum {
  * LT      Less Than                 Z and N flags are 0
  * GE      Greater Than or Equal To  Z or N flag is 1.  */
 
-int cond_stat(int cc)
+static int cond_stat(int cc)
 {
   switch (cc) 
     {
@@ -226,14 +195,15 @@ move_to_cr (int cr, creg_t mask, creg_t val, int psw_hw_p)
   /* only issue an update if the register is being changed.  */
   if ((State.cregs[cr] & ~mask) != val)
    SLOT_PEND_MASK (State.cregs[cr], mask, val);
+
   return val;
 }
 
 #ifdef DEBUG
-static void trace_input_func PARAMS ((char *name,
-                                     enum op_types in1,
-                                     enum op_types in2,
-                                     enum op_types in3));
+static void trace_input_func (const char *name,
+                             enum op_types in1,
+                             enum op_types in2,
+                             enum op_types in3);
 
 #define trace_input(name, in1, in2, in3) do { if (cr16_debug) trace_input_func (name, in1, in2, in3); } while (0)
 
@@ -262,11 +232,7 @@ static void trace_input_func PARAMS ((char *name,
 #endif
 
 static void
-trace_input_func (name, in1, in2, in3)
-     char *name;
-     enum op_types in1;
-     enum op_types in2;
-     enum op_types in3;
+trace_input_func (const char *name, enum op_types in1, enum op_types in2, enum op_types in3)
 {
   char *comma;
   enum op_types in[3];
@@ -298,14 +264,21 @@ trace_input_func (name, in1, in2, in3)
 
   else
     {
+      extern SIM_DESC trace_sd;
+
       buf[0] = '\0';
-      byte_pc = decode_pc ();
-      if (text && byte_pc >= text_start && byte_pc < text_end)
+      byte_pc = PC;
+      if (STATE_TEXT_SECTION (trace_sd)
+         && byte_pc >= STATE_TEXT_START (trace_sd)
+         && byte_pc < STATE_TEXT_END (trace_sd))
        {
          filename = (const char *)0;
          functionname = (const char *)0;
          linenumber = 0;
-         if (bfd_find_nearest_line (prog_bfd, text, (struct bfd_symbol **)0, byte_pc - text_start,
+         if (bfd_find_nearest_line (STATE_PROG_BFD (trace_sd),
+                                    STATE_TEXT_SECTION (trace_sd),
+                                    (struct bfd_symbol **)0,
+                                    byte_pc - STATE_TEXT_START (trace_sd),
                                     &filename, &functionname, &linenumber))
            {
              p = buf;
@@ -358,16 +331,13 @@ trace_input_func (name, in1, in2, in3)
          break;
 
        case OP_REG:
-       case OP_REG_OUTPUT:
        case OP_REGP:
-       case OP_REGP_OUTPUT:
          sprintf (p, "%sr%d", comma, OP[i]);
          p += strlen (p);
          comma = ",";
          break;
 
        case OP_PROC_REG:
-       case OP_PROC_REG_OUTPUT:
          sprintf (p, "%scr%d", comma, OP[i]);
          p += strlen (p);
          comma = ",";
@@ -432,12 +402,6 @@ trace_input_func (name, in1, in2, in3)
              (*cr16_callback->printf_filtered) (cr16_callback, "%*s", SIZE_VALUES, "");
              break;
 
-           case OP_REG_OUTPUT:
-           case OP_REGP_OUTPUT:
-           case OP_PROC_REG_OUTPUT:
-             (*cr16_callback->printf_filtered) (cr16_callback, "%*s", SIZE_VALUES, "---");
-             break;
-
            case OP_REG:
              (*cr16_callback->printf_filtered) (cr16_callback, "%*s0x%.4x", SIZE_VALUES-6, "",
                                                 (uint16) GPR (OP[i]));
@@ -499,6 +463,7 @@ do_trace_output_finish (void)
   (*cr16_callback->flush_stdout) (cr16_callback);
 }
 
+#if 0
 static void
 trace_output_40 (uint64 val)
 {
@@ -513,6 +478,7 @@ trace_output_40 (uint64 val)
       do_trace_output_finish ();
     }
 }
+#endif
 
 static void
 trace_output_32 (uint32 val)
@@ -543,7 +509,7 @@ trace_output_16 (uint16 val)
 }
 
 static void
-trace_output_void ()
+trace_output_void (void)
 {
   if ((cr16_debug & (DEBUG_TRACE | DEBUG_VALUES)) == (DEBUG_TRACE | DEBUG_VALUES))
     {
@@ -553,7 +519,7 @@ trace_output_void ()
 }
 
 static void
-trace_output_flag ()
+trace_output_flag (void)
 {
   if ((cr16_debug & (DEBUG_TRACE | DEBUG_VALUES)) == (DEBUG_TRACE | DEBUG_VALUES))
     {
@@ -575,7 +541,7 @@ trace_output_flag ()
 
 /* addub.  */
 void
-OP_2C_8 ()
+OP_2C_8 (void)
 {
   uint8 tmp;
   uint8 a = OP[0] & 0xff;
@@ -588,7 +554,7 @@ OP_2C_8 ()
 
 /* addub.  */
 void
-OP_2CB_C ()
+OP_2CB_C (void)
 {
   uint16 tmp;
   uint8 a = ((OP[0]) & 0xff), b = (GPR (OP[1])) & 0xff;
@@ -600,7 +566,7 @@ OP_2CB_C ()
 
 /* addub.  */
 void
-OP_2D_8 ()
+OP_2D_8 (void)
 {
   uint8 a = (GPR (OP[0])) & 0xff;
   uint8 b = (GPR (OP[1])) & 0xff;
@@ -612,7 +578,7 @@ OP_2D_8 ()
 
 /* adduw.  */
 void
-OP_2E_8 ()
+OP_2E_8 (void)
 {
   uint16 a = OP[0];
   uint16 b = GPR (OP[1]);
@@ -624,7 +590,7 @@ OP_2E_8 ()
 
 /* adduw.  */
 void
-OP_2EB_C ()
+OP_2EB_C (void)
 {
   uint16 a = OP[0];
   uint16 b = GPR (OP[1]);
@@ -636,7 +602,7 @@ OP_2EB_C ()
 
 /* adduw.  */
 void
-OP_2F_8 ()
+OP_2F_8 (void)
 {
   uint16 a = GPR (OP[0]);
   uint16 b = GPR (OP[1]);
@@ -648,12 +614,12 @@ OP_2F_8 ()
 
 /* addb.  */
 void
-OP_30_8 ()
+OP_30_8 (void)
 {
   uint8 a = OP[0];
   uint8 b = (GPR (OP[1]) & 0xff);
-  trace_input ("addb", OP_CONSTANT4_1, OP_REG, OP_VOID);
   uint16 tmp = (a + b) & 0xff;
+  trace_input ("addb", OP_CONSTANT4_1, OP_REG, OP_VOID);
   SET_GPR (OP[1], (tmp | ((GPR (OP[1])) & 0xff00)));
   SET_PSR_C (tmp > 0xFF);
   SET_PSR_F (((a & 0x80) == (b & 0x80)) && ((b & 0x80) != (tmp & 0x80)));
@@ -662,12 +628,12 @@ OP_30_8 ()
 
 /* addb.  */
 void
-OP_30B_C ()
+OP_30B_C (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint8 b = (GPR (OP[1]) & 0xff);
-  trace_input ("addb", OP_CONSTANT16, OP_REG, OP_VOID);
   uint16 tmp = (a + b) & 0xff;
+  trace_input ("addb", OP_CONSTANT16, OP_REG, OP_VOID);
   SET_GPR (OP[1], (tmp | ((GPR (OP[1])) & 0xff00)));
   SET_PSR_C (tmp > 0xFF);
   SET_PSR_F (((a & 0x80) == (b & 0x80)) && ((b & 0x80) != (tmp & 0x80)));
@@ -676,12 +642,12 @@ OP_30B_C ()
 
 /* addb.  */
 void
-OP_31_8 ()
+OP_31_8 (void)
 {
   uint8 a = (GPR (OP[0]) & 0xff);
   uint8 b = (GPR (OP[1]) & 0xff);
-  trace_input ("addb", OP_REG, OP_REG, OP_VOID);
   uint16 tmp = (a + b) & 0xff;
+  trace_input ("addb", OP_REG, OP_REG, OP_VOID);
   SET_GPR (OP[1], (tmp | ((GPR (OP[1])) & 0xff00)));
   SET_PSR_C (tmp > 0xFF);
   SET_PSR_F (((a & 0x80) == (b & 0x80)) && ((b & 0x80) != (tmp & 0x80)));
@@ -690,12 +656,12 @@ OP_31_8 ()
 
 /* addw.  */
 void
-OP_32_8 ()
+OP_32_8 (void)
 {
   int16 a = OP[0];
   uint16 tmp, b = GPR (OP[1]);
-  trace_input ("addw", OP_CONSTANT4_1, OP_REG, OP_VOID);
   tmp = (a + b);
+  trace_input ("addw", OP_CONSTANT4_1, OP_REG, OP_VOID);
   SET_GPR (OP[1], tmp);
   SET_PSR_C (tmp > 0xFFFF);
   SET_PSR_F (((a & 0x8000) == (b & 0x8000)) && ((b & 0x8000) != (tmp & 0x8000)));
@@ -704,7 +670,7 @@ OP_32_8 ()
 
 /* addw.  */
 void
-OP_32B_C ()
+OP_32B_C (void)
 {
   int16 a = OP[0];
   uint16 tmp, b = GPR (OP[1]);
@@ -718,7 +684,7 @@ OP_32B_C ()
 
 /* addw.  */
 void
-OP_33_8 ()
+OP_33_8 (void)
 {
   uint16 tmp, a = (GPR (OP[0])), b = (GPR (OP[1]));
   trace_input ("addw", OP_REG, OP_REG, OP_VOID);
@@ -731,7 +697,7 @@ OP_33_8 ()
 
 /* addcb.  */
 void
-OP_34_8 ()
+OP_34_8 (void)
 {
   uint8 tmp, a = OP[0] & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("addcb", OP_CONSTANT4_1, OP_REG, OP_REG);
@@ -744,12 +710,12 @@ OP_34_8 ()
 
 /* addcb.  */
 void
-OP_34B_C ()
+OP_34B_C (void)
 {
   int8 a = OP[0] & 0xff;
   uint8 b = (GPR (OP[1])) & 0xff;
-  trace_input ("addcb", OP_CONSTANT16, OP_REG, OP_VOID);
   uint8 tmp = (a + b + PSR_C) & 0xff;
+  trace_input ("addcb", OP_CONSTANT16, OP_REG, OP_VOID);
   SET_GPR (OP[1], (tmp | ((GPR (OP[1])) & 0xff00)));
   SET_PSR_C (tmp > 0xFF);
   SET_PSR_F (((a & 0x80) == (b & 0x80)) && ((b & 0x80) != (tmp & 0x80)));
@@ -758,12 +724,12 @@ OP_34B_C ()
 
 /* addcb.  */
 void
-OP_35_8 ()
+OP_35_8 (void)
 {
   uint8 a = (GPR (OP[0])) & 0xff;
   uint8 b = (GPR (OP[1])) & 0xff;
-  trace_input ("addcb", OP_REG, OP_REG, OP_VOID);
   uint8 tmp = (a + b + PSR_C) & 0xff;
+  trace_input ("addcb", OP_REG, OP_REG, OP_VOID);
   SET_GPR (OP[1], (tmp | ((GPR (OP[1])) & 0xff00)));
   SET_PSR_C (tmp > 0xFF);
   SET_PSR_F (((a & 0x80) == (b & 0x80)) && ((b & 0x80) != (tmp & 0x80)));
@@ -772,12 +738,12 @@ OP_35_8 ()
 
 /* addcw.  */
 void
-OP_36_8 ()
+OP_36_8 (void)
 {
   uint16 a = OP[0];
   uint16 b = GPR (OP[1]);
-  trace_input ("addcw", OP_CONSTANT4_1, OP_REG, OP_VOID);
   uint16 tmp = (a + b + PSR_C);
+  trace_input ("addcw", OP_CONSTANT4_1, OP_REG, OP_VOID);
   SET_GPR (OP[1], tmp);
   SET_PSR_C (tmp > 0xFFFF);
   SET_PSR_F (((a & 0x8000) == (b & 0x8000)) && ((b & 0x8000) != (tmp & 0x8000)));
@@ -786,12 +752,12 @@ OP_36_8 ()
 
 /* addcw.  */
 void
-OP_36B_C ()
+OP_36B_C (void)
 {
   int16 a = OP[0];
   uint16 b = GPR (OP[1]);
-  trace_input ("addcw", OP_CONSTANT16, OP_REG, OP_VOID);
   uint16 tmp = (a + b + PSR_C);
+  trace_input ("addcw", OP_CONSTANT16, OP_REG, OP_VOID);
   SET_GPR (OP[1], tmp);
   SET_PSR_C (tmp > 0xFFFF);
   SET_PSR_F (((a & 0x8000) == (b & 0x8000)) && ((b & 0x8000) != (tmp & 0x8000)));
@@ -800,12 +766,12 @@ OP_36B_C ()
 
 /* addcw.  */
 void
-OP_37_8 ()
+OP_37_8 (void)
 {
   uint16 a = GPR (OP[1]);
   uint16 b = GPR (OP[1]);
-  trace_input ("addcw", OP_REG, OP_REG, OP_VOID);
   uint16 tmp = (a + b + PSR_C);
+  trace_input ("addcw", OP_REG, OP_REG, OP_VOID);
   SET_GPR (OP[1], tmp);
   SET_PSR_C (tmp > 0xFFFF);
   SET_PSR_F (((a & 0x8000) == (b & 0x8000)) && ((b & 0x8000) != (tmp & 0x8000)));
@@ -814,12 +780,12 @@ OP_37_8 ()
 
 /* addd.  */
 void
-OP_60_8 ()
+OP_60_8 (void)
 {
   int16 a = (OP[0]);
   uint32 b = GPR32 (OP[1]);
-  trace_input ("addd", OP_CONSTANT4_1, OP_REGP, OP_VOID);
   uint32 tmp = (a + b);
+  trace_input ("addd", OP_CONSTANT4_1, OP_REGP, OP_VOID);
   SET_GPR32 (OP[1], tmp);
   SET_PSR_C (tmp > 0xFFFFFFFF);
   SET_PSR_F (((a & 0x80000000) == (b & 0x80000000)) && ((b & 0x80000000) != (tmp & 0x80000000)));
@@ -828,12 +794,12 @@ OP_60_8 ()
 
 /* addd.  */
 void
-OP_60B_C ()
+OP_60B_C (void)
 {
   int32 a = (SEXT16(OP[0]));
   uint32 b = GPR32 (OP[1]);
-  trace_input ("addd", OP_CONSTANT16, OP_REGP, OP_VOID);
   uint32 tmp = (a + b);
+  trace_input ("addd", OP_CONSTANT16, OP_REGP, OP_VOID);
   SET_GPR32 (OP[1], tmp);
   SET_PSR_C (tmp > 0xFFFFFFFF);
   SET_PSR_F (((a & 0x80000000) == (b & 0x80000000)) && ((b & 0x80000000) != (tmp & 0x80000000)));
@@ -842,12 +808,12 @@ OP_60B_C ()
 
 /* addd.  */
 void
-OP_61_8 ()
+OP_61_8 (void)
 {
   uint32 a = GPR32 (OP[0]);
   uint32 b = GPR32 (OP[1]);
-  trace_input ("addd", OP_REGP, OP_REGP, OP_VOID);
   uint32 tmp = (a + b);
+  trace_input ("addd", OP_REGP, OP_REGP, OP_VOID);
   SET_GPR32 (OP[1], tmp);
   trace_output_32 (tmp);
   SET_PSR_C (tmp > 0xFFFFFFFF);
@@ -856,7 +822,7 @@ OP_61_8 ()
 
 /* addd.  */
 void
-OP_4_8 ()
+OP_4_8 (void)
 {
   uint32 a = OP[0];
   uint32 b = GPR32 (OP[1]);
@@ -871,7 +837,7 @@ OP_4_8 ()
 
 /* addd.  */
 void
-OP_2_C ()
+OP_2_C (void)
 {
   int32 a = OP[0];
   uint32 b = GPR32 (OP[1]);
@@ -886,7 +852,7 @@ OP_2_C ()
 
 /* andb.  */
 void
-OP_20_8 ()
+OP_20_8 (void)
 {
   uint8 tmp, a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("andb", OP_CONSTANT4, OP_REG, OP_VOID);
@@ -897,7 +863,7 @@ OP_20_8 ()
 
 /* andb.  */
 void
-OP_20B_C ()
+OP_20B_C (void)
 {
   uint8 tmp, a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("andb", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -908,7 +874,7 @@ OP_20B_C ()
 
 /* andb.  */
 void
-OP_21_8 ()
+OP_21_8 (void)
 {
   uint8 tmp, a = (GPR (OP[0])) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("andb", OP_REG, OP_REG, OP_VOID);
@@ -919,7 +885,7 @@ OP_21_8 ()
 
 /* andw.  */
 void
-OP_22_8 ()
+OP_22_8 (void)
 {
   uint16 tmp, a = OP[0], b = GPR (OP[1]);
   trace_input ("andw", OP_CONSTANT4, OP_REG, OP_VOID);
@@ -930,7 +896,7 @@ OP_22_8 ()
 
 /* andw.  */
 void
-OP_22B_C ()
+OP_22B_C (void)
 {
   uint16 tmp, a = OP[0], b = GPR (OP[1]);
   trace_input ("andw", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -941,7 +907,7 @@ OP_22B_C ()
 
 /* andw.  */
 void
-OP_23_8 ()
+OP_23_8 (void)
 {
   uint16 tmp, a = GPR (OP[0]), b = GPR (OP[1]);
   trace_input ("andw", OP_REG, OP_REG, OP_VOID);
@@ -952,7 +918,7 @@ OP_23_8 ()
 
 /* andd.  */
 void
-OP_4_C ()
+OP_4_C (void)
 {
   uint32 tmp, a = OP[0],  b = GPR32 (OP[1]);
   trace_input ("andd", OP_CONSTANT32, OP_REGP, OP_VOID);
@@ -963,7 +929,7 @@ OP_4_C ()
 
 /* andd.  */
 void
-OP_14B_14 ()
+OP_14B_14 (void)
 {
   uint32 tmp, a = (GPR32 (OP[0])), b = (GPR32 (OP[1]));
   trace_input ("andd", OP_REGP, OP_REGP, OP_VOID);
@@ -974,7 +940,7 @@ OP_14B_14 ()
 
 /* ord.  */
 void
-OP_5_C ()
+OP_5_C (void)
 {
   uint32 tmp, a = (OP[0]), b = GPR32 (OP[1]);
   trace_input ("ord", OP_CONSTANT32, OP_REG, OP_VOID);
@@ -985,7 +951,7 @@ OP_5_C ()
 
 /* ord.  */
 void
-OP_149_14 ()
+OP_149_14 (void)
 {
   uint32 tmp, a = GPR32 (OP[0]), b = GPR32 (OP[1]);
   trace_input ("ord", OP_REGP, OP_REGP, OP_VOID);
@@ -996,7 +962,7 @@ OP_149_14 ()
 
 /* xord.  */
 void
-OP_6_C ()
+OP_6_C (void)
 {
   uint32 tmp, a = (OP[0]), b = GPR32 (OP[1]);
   trace_input ("xord", OP_CONSTANT32, OP_REG, OP_VOID);
@@ -1007,7 +973,7 @@ OP_6_C ()
 
 /* xord.  */
 void
-OP_14A_14 ()
+OP_14A_14 (void)
 {
   uint32 tmp, a = GPR32 (OP[0]), b = GPR32 (OP[1]);
   trace_input ("xord", OP_REGP, OP_REGP, OP_VOID);
@@ -1019,9 +985,9 @@ OP_14A_14 ()
 
 /* b.  */
 void
-OP_1_4 ()
+OP_1_4 (void)
 {
-  uint32 tmp, cc = cond_stat (OP[0]);
+  uint32 tmp = 0, cc = cond_stat (OP[0]);
   trace_input ("b", OP_CONSTANT4, OP_DISPE9, OP_VOID);
   if  (cc)
     {
@@ -1048,9 +1014,9 @@ OP_1_4 ()
 
 /* b.  */
 void
-OP_18_8 ()
+OP_18_8 (void)
 {
-  uint32 tmp, cc = cond_stat (OP[0]);
+  uint32 tmp = 0, cc = cond_stat (OP[0]);
   trace_input ("b", OP_CONSTANT4, OP_DISP17, OP_VOID);
   if (cc)
     {
@@ -1077,9 +1043,9 @@ OP_18_8 ()
 
 /* b.  */
 void
-OP_10_10 ()
+OP_10_10 (void)
 {
-  uint32 tmp, cc = cond_stat (OP[0]);
+  uint32 tmp = 0, cc = cond_stat (OP[0]);
   trace_input ("b", OP_CONSTANT4, OP_DISP25, OP_VOID);
   if (cc)
     {
@@ -1106,7 +1072,7 @@ OP_10_10 ()
 
 /* bal.  */
 void
-OP_C0_8 ()
+OP_C0_8 (void)
 {
   uint32 tmp;
   trace_input ("bal", OP_REG, OP_DISP17, OP_VOID);
@@ -1136,7 +1102,7 @@ OP_C0_8 ()
 
 /* bal.  */
 void
-OP_102_14 ()
+OP_102_14 (void)
 {
   uint32 tmp;
   trace_input ("bal", OP_REGP, OP_DISP25, OP_VOID);
@@ -1164,7 +1130,7 @@ OP_102_14 ()
 
 /* jal.  */
 void
-OP_148_14 ()
+OP_148_14 (void)
 {
   uint32 tmp;
   trace_input ("jal", OP_REGP, OP_REGP, OP_VOID);
@@ -1190,7 +1156,7 @@ OP_148_14 ()
 
 /* jal.  */
 void
-OP_D_C ()
+OP_D_C (void)
 {
   uint32 tmp;
   trace_input ("jal", OP_REGP, OP_VOID, OP_VOID);
@@ -1216,7 +1182,7 @@ OP_D_C ()
 
 /* beq0b.  */
 void
-OP_C_8 ()
+OP_C_8 (void)
 {
   uint32 addr;
   uint8 a = (GPR (OP[0]) & 0xFF);
@@ -1237,7 +1203,7 @@ OP_C_8 ()
 
 /* bne0b.  */
 void
-OP_D_8 ()
+OP_D_8 (void)
 {
   uint32 addr;
   uint8 a = (GPR (OP[0]) & 0xFF);
@@ -1258,7 +1224,7 @@ OP_D_8 ()
 
 /* beq0w.  */
 void
-OP_E_8()
+OP_E_8 (void)
 {
   uint32 addr;
   uint16 a = GPR (OP[0]);
@@ -1279,7 +1245,7 @@ OP_E_8()
 
 /* bne0w.  */
 void
-OP_F_8 ()
+OP_F_8 (void)
 {
   uint32 addr;
   uint16 a = GPR (OP[0]);
@@ -1301,9 +1267,9 @@ OP_F_8 ()
 
 /* jeq.  */
 void
-OP_A0_C ()
+OP_A0_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jeq", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_Z) == 1)
   {
@@ -1315,9 +1281,9 @@ OP_A0_C ()
 
 /* jne.  */
 void
-OP_A1_C ()
+OP_A1_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jne", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_Z) == 0)
   {
@@ -1329,9 +1295,9 @@ OP_A1_C ()
 
 /* jcs.  */
 void
-OP_A2_C ()
+OP_A2_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jcs", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_C) == 1)
   {
@@ -1343,9 +1309,9 @@ OP_A2_C ()
 
 /* jcc.  */
 void
-OP_A3_C ()
+OP_A3_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jcc", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_C) == 0)
   {
@@ -1357,9 +1323,9 @@ OP_A3_C ()
 
 /* jhi.  */
 void
-OP_A4_C ()
+OP_A4_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jhi", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_L) == 1)
   {
@@ -1371,9 +1337,9 @@ OP_A4_C ()
 
 /* jls.  */
 void
-OP_A5_C ()
+OP_A5_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jls", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_L) == 0)
   {
@@ -1385,9 +1351,9 @@ OP_A5_C ()
 
 /* jgt.  */
 void
-OP_A6_C ()
+OP_A6_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jgt", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_N) == 1)
   {
@@ -1399,9 +1365,9 @@ OP_A6_C ()
 
 /* jle.  */
 void
-OP_A7_C ()
+OP_A7_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jle", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_N) == 0)
   {
@@ -1414,9 +1380,9 @@ OP_A7_C ()
 
 /* jfs.  */
 void
-OP_A8_C ()
+OP_A8_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jfs", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_F) == 1)
   {
@@ -1428,9 +1394,9 @@ OP_A8_C ()
 
 /* jfc.  */
 void
-OP_A9_C ()
+OP_A9_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jfc", OP_REGP, OP_VOID, OP_VOID);
   if ((PSR_F) == 0)
   {
@@ -1442,9 +1408,9 @@ OP_A9_C ()
 
 /* jlo.  */
 void
-OP_AA_C ()
+OP_AA_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jlo", OP_REGP, OP_VOID, OP_VOID);
   if (((PSR_Z) == 0) & ((PSR_L) == 0))
   {
@@ -1456,9 +1422,9 @@ OP_AA_C ()
 
 /* jhs.  */
 void
-OP_AB_C ()
+OP_AB_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jhs", OP_REGP, OP_VOID, OP_VOID);
   if (((PSR_Z) == 1) | ((PSR_L) == 1))
   {
@@ -1470,9 +1436,9 @@ OP_AB_C ()
 
 /* jlt.  */
 void
-OP_AC_C ()
+OP_AC_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jlt", OP_REGP, OP_VOID, OP_VOID);
   if (((PSR_Z) == 0) & ((PSR_N) == 0))
   {
@@ -1484,9 +1450,9 @@ OP_AC_C ()
 
 /* jge.  */
 void
-OP_AD_C ()
+OP_AD_C (void)
 {
-  uint32 tmp;
+  uint32 tmp = 0;
   trace_input ("jge", OP_REGP, OP_VOID, OP_VOID);
   if (((PSR_Z) == 1) | ((PSR_N) == 1))
   {
@@ -1498,7 +1464,7 @@ OP_AD_C ()
 
 /* jump.  */
 void
-OP_AE_C ()
+OP_AE_C (void)
 {
   uint32 tmp;
   trace_input ("jump", OP_REGP, OP_VOID, OP_VOID);
@@ -1509,7 +1475,7 @@ OP_AE_C ()
 
 /* jusr.  */
 void
-OP_AF_C ()
+OP_AF_C (void)
 {
   uint32 tmp;
   trace_input ("jusr", OP_REGP, OP_VOID, OP_VOID);
@@ -1521,7 +1487,7 @@ OP_AF_C ()
 
 /* seq.  */
 void
-OP_80_C ()
+OP_80_C (void)
 {
   trace_input ("seq", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_Z) == 1)
@@ -1532,7 +1498,7 @@ OP_80_C ()
 }
 /* sne.  */
 void
-OP_81_C ()
+OP_81_C (void)
 {
   trace_input ("sne", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_Z) == 0)
@@ -1544,7 +1510,7 @@ OP_81_C ()
 
 /* scs.  */
 void
-OP_82_C ()
+OP_82_C (void)
 {
   trace_input ("scs", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_C) == 1)
@@ -1556,7 +1522,7 @@ OP_82_C ()
 
 /* scc.  */
 void
-OP_83_C ()
+OP_83_C (void)
 {
   trace_input ("scc", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_C) == 0)
@@ -1568,7 +1534,7 @@ OP_83_C ()
 
 /* shi.  */
 void
-OP_84_C ()
+OP_84_C (void)
 {
   trace_input ("shi", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_L) == 1)
@@ -1580,7 +1546,7 @@ OP_84_C ()
 
 /* sls.  */
 void
-OP_85_C ()
+OP_85_C (void)
 {
   trace_input ("sls", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_L) == 0)
@@ -1592,7 +1558,7 @@ OP_85_C ()
 
 /* sgt.  */
 void
-OP_86_C ()
+OP_86_C (void)
 {
   trace_input ("sgt", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_N) == 1)
@@ -1604,7 +1570,7 @@ OP_86_C ()
 
 /* sle.  */
 void
-OP_87_C ()
+OP_87_C (void)
 {
   trace_input ("sle", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_N) == 0)
@@ -1616,7 +1582,7 @@ OP_87_C ()
 
 /* sfs.  */
 void
-OP_88_C ()
+OP_88_C (void)
 {
   trace_input ("sfs", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_F) == 1)
@@ -1628,7 +1594,7 @@ OP_88_C ()
 
 /* sfc.  */
 void
-OP_89_C ()
+OP_89_C (void)
 {
   trace_input ("sfc", OP_REG, OP_VOID, OP_VOID);
   if ((PSR_F) == 0)
@@ -1641,7 +1607,7 @@ OP_89_C ()
 
 /* slo.  */
 void
-OP_8A_C ()
+OP_8A_C (void)
 {
   trace_input ("slo", OP_REG, OP_VOID, OP_VOID);
   if (((PSR_Z) == 0) & ((PSR_L) == 0))
@@ -1653,7 +1619,7 @@ OP_8A_C ()
 
 /* shs.  */
 void
-OP_8B_C ()
+OP_8B_C (void)
 {
   trace_input ("shs", OP_REG, OP_VOID, OP_VOID);
   if ( ((PSR_Z) == 1) | ((PSR_L) == 1))
@@ -1665,7 +1631,7 @@ OP_8B_C ()
 
 /* slt.  */
 void
-OP_8C_C ()
+OP_8C_C (void)
 {
   trace_input ("slt", OP_REG, OP_VOID, OP_VOID);
   if (((PSR_Z) == 0) & ((PSR_N) == 0))
@@ -1677,7 +1643,7 @@ OP_8C_C ()
 
 /* sge.  */
 void
-OP_8D_C ()
+OP_8D_C (void)
 {
   trace_input ("sge", OP_REG, OP_VOID, OP_VOID);
   if (((PSR_Z) == 1) | ((PSR_N) == 1))
@@ -1689,7 +1655,7 @@ OP_8D_C ()
 
 /* cbitb.  */
 void
-OP_D7_9 ()
+OP_D7_9 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = OP[1], tmp;
@@ -1703,7 +1669,7 @@ OP_D7_9 ()
 
 /* cbitb.  */
 void
-OP_107_14 ()
+OP_107_14 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = OP[1], tmp;
@@ -1717,7 +1683,7 @@ OP_107_14 ()
 
 /* cbitb.  */
 void
-OP_68_8 ()
+OP_68_8 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -1731,7 +1697,7 @@ OP_68_8 ()
 
 /* cbitb.  */
 void
-OP_1AA_A ()
+OP_1AA_A (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1745,7 +1711,7 @@ OP_1AA_A ()
 
 /* cbitb.  */
 void
-OP_104_14 ()
+OP_104_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -1759,7 +1725,7 @@ OP_104_14 ()
 
 /* cbitb.  */
 void
-OP_D4_9 ()
+OP_D4_9 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1773,7 +1739,7 @@ OP_D4_9 ()
 
 /* cbitb.  */
 void
-OP_D6_9 ()
+OP_D6_9 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1788,7 +1754,7 @@ OP_D6_9 ()
 
 /* cbitb.  */
 void
-OP_105_14 ()
+OP_105_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1802,7 +1768,7 @@ OP_105_14 ()
 
 /* cbitb.  */
 void
-OP_106_14 ()
+OP_106_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1817,7 +1783,7 @@ OP_106_14 ()
 
 /* cbitw.  */
 void
-OP_6F_8 ()
+OP_6F_8 (void)
 {
   uint16 a = OP[0];
   uint32 addr = OP[1], tmp;
@@ -1831,7 +1797,7 @@ OP_6F_8 ()
 
 /* cbitw.  */
 void
-OP_117_14 ()
+OP_117_14 (void)
 {
   uint16 a = OP[0];
   uint32 addr = OP[1], tmp;
@@ -1845,7 +1811,7 @@ OP_117_14 ()
 
 /* cbitw.  */
 void
-OP_36_7 ()
+OP_36_7 (void)
 {
   uint32 addr;
   uint16 a = (OP[0]), tmp;
@@ -1866,7 +1832,7 @@ OP_36_7 ()
 
 /* cbitw.  */
 void
-OP_1AB_A ()
+OP_1AB_A (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1880,7 +1846,7 @@ OP_1AB_A ()
 
 /* cbitw.  */
 void
-OP_114_14 ()
+OP_114_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -1895,7 +1861,7 @@ OP_114_14 ()
 
 /* cbitw.  */
 void
-OP_6E_8 ()
+OP_6E_8 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1909,7 +1875,7 @@ OP_6E_8 ()
 
 /* cbitw.  */
 void
-OP_69_8 ()
+OP_69_8 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1924,7 +1890,7 @@ OP_69_8 ()
 
 /* cbitw.  */
 void
-OP_115_14 ()
+OP_115_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1938,7 +1904,7 @@ OP_115_14 ()
 
 /* cbitw.  */
 void
-OP_116_14 ()
+OP_116_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -1952,7 +1918,7 @@ OP_116_14 ()
 
 /* sbitb.  */
 void
-OP_E7_9 ()
+OP_E7_9 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = OP[1], tmp;
@@ -1966,7 +1932,7 @@ OP_E7_9 ()
 
 /* sbitb.  */
 void
-OP_10B_14 ()
+OP_10B_14 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = OP[1], tmp;
@@ -1980,7 +1946,7 @@ OP_10B_14 ()
 
 /* sbitb.  */
 void
-OP_70_8 ()
+OP_70_8 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -1994,7 +1960,7 @@ OP_70_8 ()
 
 /* sbitb.  */
 void
-OP_1CA_A ()
+OP_1CA_A (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2008,7 +1974,7 @@ OP_1CA_A ()
 
 /* sbitb.  */
 void
-OP_108_14 ()
+OP_108_14 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -2023,7 +1989,7 @@ OP_108_14 ()
 
 /* sbitb.  */
 void
-OP_E4_9 ()
+OP_E4_9 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2037,7 +2003,7 @@ OP_E4_9 ()
 
 /* sbitb.  */
 void
-OP_E6_9 ()
+OP_E6_9 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2052,7 +2018,7 @@ OP_E6_9 ()
 
 /* sbitb.  */
 void
-OP_109_14 ()
+OP_109_14 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2067,7 +2033,7 @@ OP_109_14 ()
 
 /* sbitb.  */
 void
-OP_10A_14 ()
+OP_10A_14 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2082,7 +2048,7 @@ OP_10A_14 ()
 
 /* sbitw.  */
 void
-OP_77_8 ()
+OP_77_8 (void)
 {
   uint16 a = OP[0];
   uint32 addr = OP[1], tmp;
@@ -2096,7 +2062,7 @@ OP_77_8 ()
 
 /* sbitw.  */
 void
-OP_11B_14 ()
+OP_11B_14 (void)
 {
   uint16 a = OP[0];
   uint32 addr = OP[1], tmp;
@@ -2110,7 +2076,7 @@ OP_11B_14 ()
 
 /* sbitw.  */
 void
-OP_3A_7 ()
+OP_3A_7 (void)
 {
   uint32 addr;
   uint16 a = (OP[0]), tmp;
@@ -2130,7 +2096,7 @@ OP_3A_7 ()
 
 /* sbitw.  */
 void
-OP_1CB_A ()
+OP_1CB_A (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2144,7 +2110,7 @@ OP_1CB_A ()
 
 /* sbitw.  */
 void
-OP_118_14 ()
+OP_118_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -2158,7 +2124,7 @@ OP_118_14 ()
 
 /* sbitw.  */
 void
-OP_76_8 ()
+OP_76_8 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2172,7 +2138,7 @@ OP_76_8 ()
 
 /* sbitw.  */
 void
-OP_71_8 ()
+OP_71_8 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2186,7 +2152,7 @@ OP_71_8 ()
 
 /* sbitw.  */
 void
-OP_119_14 ()
+OP_119_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2200,7 +2166,7 @@ OP_119_14 ()
 
 /* sbitw.  */
 void
-OP_11A_14 ()
+OP_11A_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2215,7 +2181,7 @@ OP_11A_14 ()
 
 /* tbitb.  */
 void
-OP_F7_9 ()
+OP_F7_9 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = OP[1], tmp;
@@ -2227,7 +2193,7 @@ OP_F7_9 ()
 
 /* tbitb.  */
 void
-OP_10F_14 ()
+OP_10F_14 (void)
 {
   uint8 a = OP[0] & 0xff;
   uint32 addr = OP[1], tmp;
@@ -2239,7 +2205,7 @@ OP_10F_14 ()
 
 /* tbitb.  */
 void
-OP_78_8 ()
+OP_78_8 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -2251,7 +2217,7 @@ OP_78_8 ()
 
 /* tbitb.  */
 void
-OP_1EA_A ()
+OP_1EA_A (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2263,7 +2229,7 @@ OP_1EA_A ()
 
 /* tbitb.  */
 void
-OP_10C_14 ()
+OP_10C_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -2275,7 +2241,7 @@ OP_10C_14 ()
 
 /* tbitb.  */
 void
-OP_F4_9 ()
+OP_F4_9 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2287,7 +2253,7 @@ OP_F4_9 ()
 
 /* tbitb.  */
 void
-OP_F6_9 ()
+OP_F6_9 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2299,7 +2265,7 @@ OP_F6_9 ()
 
 /* tbitb.  */
 void
-OP_10D_14 ()
+OP_10D_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2311,7 +2277,7 @@ OP_10D_14 ()
 
 /* tbitb.  */
 void
-OP_10E_14 ()
+OP_10E_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2324,7 +2290,7 @@ OP_10E_14 ()
 
 /* tbitw.  */
 void
-OP_7F_8 ()
+OP_7F_8 (void)
 {
   uint16 a = OP[0];
   uint32 addr = OP[1], tmp;
@@ -2336,7 +2302,7 @@ OP_7F_8 ()
 
 /* tbitw.  */
 void
-OP_11F_14 ()
+OP_11F_14 (void)
 {
   uint16 a = OP[0];
   uint32 addr = OP[1], tmp;
@@ -2349,7 +2315,7 @@ OP_11F_14 ()
 
 /* tbitw.  */
 void
-OP_3E_7 ()
+OP_3E_7 (void)
 {
   uint32 addr;
   uint16 a = (OP[0]), tmp;
@@ -2367,7 +2333,7 @@ OP_3E_7 ()
 
 /* tbitw.  */
 void
-OP_1EB_A ()
+OP_1EB_A (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2379,7 +2345,7 @@ OP_1EB_A ()
 
 /* tbitw.  */
 void
-OP_11C_14 ()
+OP_11C_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR (OP[2])) + OP[1], tmp;
@@ -2391,7 +2357,7 @@ OP_11C_14 ()
 
 /* tbitw.  */
 void
-OP_7E_8 ()
+OP_7E_8 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2403,7 +2369,7 @@ OP_7E_8 ()
 
 /* tbitw.  */
 void
-OP_79_8 ()
+OP_79_8 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2415,7 +2381,7 @@ OP_79_8 ()
 
 /* tbitw.  */
 void
-OP_11D_14 ()
+OP_11D_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2428,7 +2394,7 @@ OP_11D_14 ()
 
 /* tbitw.  */
 void
-OP_11E_14 ()
+OP_11E_14 (void)
 {
   uint16 a = (OP[0]);
   uint32 addr = (GPR32 (OP[2])) + OP[1], tmp;
@@ -2441,32 +2407,30 @@ OP_11E_14 ()
 
 /* tbit.  */
 void
-OP_6_8 ()
+OP_6_8 (void)
 {
   uint16 a = OP[0];
-  uint32 addr = (GPR (OP[1])), tmp;
+  uint16 b = (GPR (OP[1]));
   trace_input ("tbit", OP_CONSTANT4, OP_REG, OP_VOID);
-  tmp = RW (addr);
-  SET_PSR_F (tmp & (1 << a));
-  trace_output_32 (tmp);
+  SET_PSR_F (b & (1 << a));
+  trace_output_16 (b);
 }
 
 /* tbit.  */
 void
-OP_7_8 ()
+OP_7_8 (void)
 {
   uint16 a = GPR (OP[0]);
-  uint32 addr = (GPR (OP[1])), tmp;
+  uint16 b = (GPR (OP[1]));
   trace_input ("tbit", OP_REG, OP_REG, OP_VOID);
-  tmp = RW (addr);
-  SET_PSR_F (tmp & (1 << a));
-  trace_output_32 (tmp);
+  SET_PSR_F (b & (1 << a));
+  trace_output_16 (b);
 }
 
 
 /* cmpb.  */
 void
-OP_50_8 ()
+OP_50_8 (void)
 {
   uint8 a = (OP[0]) & 0xFF; 
   uint8 b = (GPR (OP[1])) & 0xFF;
@@ -2479,7 +2443,7 @@ OP_50_8 ()
 
 /* cmpb.  */
 void
-OP_50B_C ()
+OP_50B_C (void)
 {
   uint8 a = (OP[0]) & 0xFF; 
   uint8 b = (GPR (OP[1])) & 0xFF;
@@ -2492,7 +2456,7 @@ OP_50B_C ()
 
 /* cmpb.  */
 void
-OP_51_8 ()
+OP_51_8 (void)
 {
   uint8 a = (GPR (OP[0])) & 0xFF; 
   uint8 b = (GPR (OP[1])) & 0xFF;
@@ -2505,7 +2469,7 @@ OP_51_8 ()
 
 /* cmpw.  */
 void
-OP_52_8 ()
+OP_52_8 (void)
 {
   uint16 a = (OP[0]); 
   uint16 b = GPR (OP[1]);
@@ -2518,7 +2482,7 @@ OP_52_8 ()
 
 /* cmpw.  */
 void
-OP_52B_C ()
+OP_52B_C (void)
 {
   uint16 a = (OP[0]); 
   uint16 b = GPR (OP[1]);
@@ -2531,7 +2495,7 @@ OP_52B_C ()
 
 /* cmpw.  */
 void
-OP_53_8 ()
+OP_53_8 (void)
 {
   uint16 a = GPR (OP[0]) ; 
   uint16 b = GPR (OP[1]) ;
@@ -2544,7 +2508,7 @@ OP_53_8 ()
 
 /* cmpd.  */
 void
-OP_56_8 ()
+OP_56_8 (void)
 {
   uint32 a = (OP[0]); 
   uint32 b = GPR32 (OP[1]);
@@ -2557,7 +2521,7 @@ OP_56_8 ()
 
 /* cmpd.  */
 void
-OP_56B_C ()
+OP_56B_C (void)
 {
   uint32 a = (SEXT16(OP[0])); 
   uint32 b = GPR32 (OP[1]);
@@ -2570,7 +2534,7 @@ OP_56B_C ()
 
 /* cmpd.  */
 void
-OP_57_8 ()
+OP_57_8 (void)
 {
   uint32 a = GPR32 (OP[0]) ; 
   uint32 b = GPR32 (OP[1]) ;
@@ -2583,7 +2547,7 @@ OP_57_8 ()
 
 /* cmpd.  */
 void
-OP_9_C()
+OP_9_C (void)
 {
   uint32 a = (OP[0]); 
   uint32 b = GPR32 (OP[1]);
@@ -2597,40 +2561,40 @@ OP_9_C()
 
 /* movb.  */
 void
-OP_58_8 ()
+OP_58_8 (void)
 {
   uint8 tmp = OP[0] & 0xFF;
-  trace_input ("movb", OP_CONSTANT4, OP_REG, OP_VOID);
   uint16 a = (GPR (OP[1])) & 0xFF00;
+  trace_input ("movb", OP_CONSTANT4, OP_REG, OP_VOID);
   SET_GPR (OP[1], (a | tmp));
   trace_output_16 (tmp);
 }
 
 /* movb.  */
 void
-OP_58B_C ()
+OP_58B_C (void)
 {
   uint8 tmp = OP[0] & 0xFF;
-  trace_input ("movb", OP_CONSTANT16, OP_REG, OP_VOID);
   uint16 a = (GPR (OP[1])) & 0xFF00;
+  trace_input ("movb", OP_CONSTANT16, OP_REG, OP_VOID);
   SET_GPR (OP[1], (a | tmp));
   trace_output_16 (tmp);
 }
 
 /* movb.  */
 void
-OP_59_8 ()
+OP_59_8 (void)
 {
   uint8 tmp = (GPR (OP[0])) & 0xFF;
-  trace_input ("movb", OP_REG, OP_REG, OP_VOID);
   uint16 a = (GPR (OP[1])) & 0xFF00;
+  trace_input ("movb", OP_REG, OP_REG, OP_VOID);
   SET_GPR (OP[1], (a | tmp));
   trace_output_16 (tmp);
 }
 
 /* movw.  */
 void
-OP_5A_8 ()
+OP_5A_8 (void)
 {
   uint16 tmp = OP[0];
   trace_input ("movw", OP_CONSTANT4_1, OP_REG, OP_VOID);
@@ -2640,7 +2604,7 @@ OP_5A_8 ()
 
 /* movw.  */
 void
-OP_5AB_C ()
+OP_5AB_C (void)
 {
   int16 tmp = OP[0];
   trace_input ("movw", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -2650,11 +2614,11 @@ OP_5AB_C ()
 
 /* movw.  */
 void
-OP_5B_8 ()
+OP_5B_8 (void)
 {
   uint16 tmp = GPR (OP[0]);
-  trace_input ("movw", OP_REG, OP_REGP, OP_VOID);
   uint32 a = GPR32 (OP[1]);
+  trace_input ("movw", OP_REG, OP_REGP, OP_VOID);
   a = (a & 0xffff0000) | tmp;
   SET_GPR32 (OP[1], a);
   trace_output_16 (tmp);
@@ -2662,7 +2626,7 @@ OP_5B_8 ()
 
 /* movxb.  */
 void
-OP_5C_8 ()
+OP_5C_8 (void)
 {
   uint8 tmp = (GPR (OP[0])) & 0xFF;
   trace_input ("movxb", OP_REG, OP_REG, OP_VOID);
@@ -2672,7 +2636,7 @@ OP_5C_8 ()
 
 /* movzb.  */
 void
-OP_5D_8 ()
+OP_5D_8 (void)
 {
   uint8 tmp = (GPR (OP[0])) & 0xFF;
   trace_input ("movzb", OP_REG, OP_REG, OP_VOID);
@@ -2682,7 +2646,7 @@ OP_5D_8 ()
 
 /* movxw.  */
 void
-OP_5E_8 ()
+OP_5E_8 (void)
 {
   uint16 tmp = GPR (OP[0]);
   trace_input ("movxw", OP_REG, OP_REGP, OP_VOID);
@@ -2692,7 +2656,7 @@ OP_5E_8 ()
 
 /* movzw.  */
 void
-OP_5F_8 ()
+OP_5F_8 (void)
 {
   uint16 tmp = GPR (OP[0]);
   trace_input ("movzw", OP_REG, OP_REGP, OP_VOID);
@@ -2702,7 +2666,7 @@ OP_5F_8 ()
 
 /* movd.  */
 void
-OP_54_8 ()
+OP_54_8 (void)
 {
   int32 tmp = OP[0];
   trace_input ("movd", OP_CONSTANT4, OP_REGP, OP_VOID);
@@ -2712,7 +2676,7 @@ OP_54_8 ()
 
 /* movd.  */
 void
-OP_54B_C ()
+OP_54B_C (void)
 {
   int32 tmp = SEXT16(OP[0]);
   trace_input ("movd", OP_CONSTANT16, OP_REGP, OP_VOID);
@@ -2722,7 +2686,7 @@ OP_54B_C ()
 
 /* movd.  */
 void
-OP_55_8 ()
+OP_55_8 (void)
 {
   uint32 tmp = GPR32 (OP[0]);
   trace_input ("movd", OP_REGP, OP_REGP, OP_VOID);
@@ -2732,7 +2696,7 @@ OP_55_8 ()
 
 /* movd.  */
 void
-OP_5_8 ()
+OP_5_8 (void)
 {
   uint32 tmp = OP[0];
   trace_input ("movd", OP_CONSTANT20, OP_REGP, OP_VOID);
@@ -2742,7 +2706,7 @@ OP_5_8 ()
 
 /* movd.  */
 void
-OP_7_C ()
+OP_7_C (void)
 {
   int32 tmp = OP[0];
   trace_input ("movd", OP_CONSTANT32, OP_REGP, OP_VOID);
@@ -2752,7 +2716,7 @@ OP_7_C ()
 
 /* loadm.  */
 void
-OP_14_D ()
+OP_14_D (void)
 {
   uint32 addr = GPR (0);
   uint16 count = OP[0], reg = 2, tmp;
@@ -2782,7 +2746,7 @@ OP_14_D ()
 
 /* loadmp.  */
 void
-OP_15_D ()
+OP_15_D (void)
 {
   uint32 addr = GPR32 (0);
   uint16 count = OP[0], reg = 2, tmp;
@@ -2812,7 +2776,7 @@ OP_15_D ()
 
 /* loadb.  */
 void
-OP_88_8 ()
+OP_88_8 (void)
 {
   /* loadb ABS20, REG 
    * ADDR = zext24(abs20) | remap (ie 0xF00000)
@@ -2833,7 +2797,7 @@ OP_88_8 ()
 
 /* loadb.  */
 void
-OP_127_14 ()
+OP_127_14 (void)
 {
   /* loadb ABS24, REG 
    * ADDR = abs24
@@ -2849,7 +2813,7 @@ OP_127_14 ()
 
 /* loadb.  */
 void
-OP_45_7 ()
+OP_45_7 (void)
 {
   /* loadb [Rindex]ABS20   REG
    * ADDR = Rindex + zext24(disp20)
@@ -2872,7 +2836,7 @@ OP_45_7 ()
 
 /* loadb.  */
 void
-OP_B_4 ()
+OP_B_4 (void)
 {
   /* loadb DIPS4(REGP)   REG 
    * ADDR = RPBASE + zext24(DISP4)
@@ -2887,7 +2851,7 @@ OP_B_4 ()
 
 /* loadb.  */
 void
-OP_BE_8 ()
+OP_BE_8 (void)
 {
   /* loadb [Rindex]disp0(RPbasex) REG
    * ADDR = Rpbasex + Rindex
@@ -2911,7 +2875,7 @@ OP_BE_8 ()
 
 /* loadb.  */
 void
-OP_219_A ()
+OP_219_A (void)
 {
   /* loadb [Rindex]disp14(RPbasex) REG
    * ADDR = Rpbasex + Rindex + zext24(disp14)
@@ -2936,7 +2900,7 @@ OP_219_A ()
 
 /* loadb.  */
 void
-OP_184_14 ()
+OP_184_14 (void)
 {
   /* loadb DISPE20(REG)   REG
    * zext24(Rbase) + zext24(dispe20)
@@ -2952,7 +2916,7 @@ OP_184_14 ()
 
 /* loadb.  */
 void
-OP_124_14 ()
+OP_124_14 (void)
 {
   /* loadb DISP20(REG)   REG
    * ADDR = zext24(Rbase) + zext24(disp20)
@@ -2968,7 +2932,7 @@ OP_124_14 ()
 
 /* loadb.  */
 void
-OP_BF_8 ()
+OP_BF_8 (void)
 {
   /* loadb disp16(REGP)   REG
    * ADDR = RPbase + zext24(disp16)
@@ -2984,7 +2948,7 @@ OP_BF_8 ()
 
 /* loadb.  */
 void
-OP_125_14 ()
+OP_125_14 (void)
 {
   /* loadb disp20(REGP)   REG
    * ADDR = RPbase + zext24(disp20)
@@ -3000,7 +2964,7 @@ OP_125_14 ()
 
 /* loadb.  */
 void
-OP_185_14 ()
+OP_185_14 (void)
 {
   /* loadb -disp20(REGP)   REG
    * ADDR = RPbase + zext24(-disp20)
@@ -3015,7 +2979,7 @@ OP_185_14 ()
 
 /* loadb.  */
 void
-OP_126_14 ()
+OP_126_14 (void)
 {
   /* loadb [Rindex]disp20(RPbasexb) REG
    * ADDR = RPbasex + Rindex + zext24(disp20)
@@ -3040,7 +3004,7 @@ OP_126_14 ()
 
 /* loadw.  */
 void
-OP_89_8 ()
+OP_89_8 (void)
 {
   /* loadw ABS20, REG 
    * ADDR = zext24(abs20) | remap
@@ -3062,7 +3026,7 @@ OP_89_8 ()
 
 /* loadw.  */
 void
-OP_12F_14 ()
+OP_12F_14 (void)
 {
   /* loadw ABS24, REG 
    * ADDR = abs24
@@ -3077,7 +3041,7 @@ OP_12F_14 ()
 
 /* loadw.  */
 void
-OP_47_7 ()
+OP_47_7 (void)
 {
   /* loadw [Rindex]ABS20   REG
    * ADDR = Rindex + zext24(disp20)
@@ -3100,7 +3064,7 @@ OP_47_7 ()
 
 /* loadw.  */
 void
-OP_9_4 ()
+OP_9_4 (void)
 {
   /* loadw DIPS4(REGP)   REGP
    * ADDR = RPBASE + zext24(DISP4)
@@ -3124,7 +3088,7 @@ OP_9_4 ()
 
 /* loadw.  */
 void
-OP_9E_8 ()
+OP_9E_8 (void)
 {
   /* loadw [Rindex]disp0(RPbasex) REG
    * ADDR = Rpbasex + Rindex
@@ -3149,7 +3113,7 @@ OP_9E_8 ()
 
 /* loadw.  */
 void
-OP_21B_A ()
+OP_21B_A (void)
 {
   /* loadw [Rindex]disp14(RPbasex) REG
    * ADDR = Rpbasex + Rindex + zext24(disp14)
@@ -3172,7 +3136,7 @@ OP_21B_A ()
 
 /* loadw.  */
 void
-OP_18C_14 ()
+OP_18C_14 (void)
 {
   /* loadw dispe20(REG)   REGP
    * REGP = [DISPE20+[REG]]   */
@@ -3196,7 +3160,7 @@ OP_18C_14 ()
 
 /* loadw.  */
 void
-OP_12C_14 ()
+OP_12C_14 (void)
 {
   /* loadw DISP20(REG)   REGP
    * ADDR = zext24(Rbase) + zext24(disp20)
@@ -3220,7 +3184,7 @@ OP_12C_14 ()
 
 /* loadw.  */
 void
-OP_9F_8 ()
+OP_9F_8 (void)
 {
   /* loadw disp16(REGP)   REGP
    * ADDR = RPbase + zext24(disp16)
@@ -3243,7 +3207,7 @@ OP_9F_8 ()
 
 /* loadw.  */
 void
-OP_12D_14 ()
+OP_12D_14 (void)
 {
   /* loadw disp20(REGP)   REGP
    * ADDR = RPbase + zext24(disp20)
@@ -3266,7 +3230,7 @@ OP_12D_14 ()
 
 /* loadw.  */
 void
-OP_18D_14 ()
+OP_18D_14 (void)
 {
   /* loadw -disp20(REGP)   REG
    * ADDR = RPbase + zext24(-disp20)
@@ -3291,7 +3255,7 @@ OP_18D_14 ()
 
 /* loadw.  */
 void
-OP_12E_14 ()
+OP_12E_14 (void)
 {
   /* loadw [Rindex]disp20(RPbasexb) REG
    * ADDR = RPbasex + Rindex + zext24(disp20)
@@ -3314,7 +3278,7 @@ OP_12E_14 ()
 
 /* loadd.  */
 void
-OP_87_8 ()
+OP_87_8 (void)
 {
   /* loadd ABS20, REGP
    * ADDR = zext24(abs20) | remap
@@ -3336,7 +3300,7 @@ OP_87_8 ()
 
 /* loadd.  */
 void
-OP_12B_14 ()
+OP_12B_14 (void)
 {
   /* loadd ABS24, REGP
    * ADDR = abs24
@@ -3354,7 +3318,7 @@ OP_12B_14 ()
 
 /* loadd.  */
 void
-OP_46_7 ()
+OP_46_7 (void)
 {
   /* loadd [Rindex]ABS20   REGP
    * ADDR = Rindex + zext24(disp20)
@@ -3377,7 +3341,7 @@ OP_46_7 ()
 
 /* loadd.  */
 void
-OP_A_4 ()
+OP_A_4 (void)
 {
   /* loadd dips4(regp)   REGP 
    * ADDR = Rpbase + zext24(disp4)
@@ -3394,7 +3358,7 @@ OP_A_4 ()
 
 /* loadd.  */
 void
-OP_AE_8 ()
+OP_AE_8 (void)
 {
   /* loadd [Rindex]disp0(RPbasex) REGP
    * ADDR = Rpbasex + Rindex
@@ -3417,7 +3381,7 @@ OP_AE_8 ()
 
 /* loadd.  */
 void
-OP_21A_A ()
+OP_21A_A (void)
 {
   /* loadd [Rindex]disp14(RPbasex) REGP
    * ADDR = Rpbasex + Rindex + zext24(disp14)
@@ -3440,7 +3404,7 @@ OP_21A_A ()
 
 /* loadd.  */
 void
-OP_188_14 ()
+OP_188_14 (void)
 {
   /* loadd dispe20(REG)   REG
    * zext24(Rbase) + zext24(dispe20)
@@ -3457,7 +3421,7 @@ OP_188_14 ()
 
 /* loadd.  */
 void
-OP_128_14 ()
+OP_128_14 (void)
 {
   /* loadd DISP20(REG)   REG
    * ADDR = zext24(Rbase) + zext24(disp20)
@@ -3473,7 +3437,7 @@ OP_128_14 ()
 
 /* loadd.  */
 void
-OP_AF_8 ()
+OP_AF_8 (void)
 {
   /* loadd disp16(REGP)   REGP
    * ADDR = RPbase + zext24(disp16)
@@ -3489,7 +3453,7 @@ OP_AF_8 ()
 
 /* loadd.  */
 void
-OP_129_14 ()
+OP_129_14 (void)
 {
   /* loadd disp20(REGP)   REGP
    * ADDR = RPbase + zext24(disp20)
@@ -3504,7 +3468,7 @@ OP_129_14 ()
 
 /* loadd.  */
 void
-OP_189_14 ()
+OP_189_14 (void)
 {
   /* loadd -disp20(REGP)   REGP
    * ADDR = RPbase + zext24(-disp20)
@@ -3520,7 +3484,7 @@ OP_189_14 ()
 
 /* loadd.  */
 void
-OP_12A_14 ()
+OP_12A_14 (void)
 {
   /* loadd [Rindex]disp20(RPbasexb) REGP
    * ADDR = RPbasex + Rindex + zext24(disp20)
@@ -3543,7 +3507,7 @@ OP_12A_14 ()
 
 /* storb.  */
 void
-OP_C8_8 ()
+OP_C8_8 (void)
 {
   /* storb REG, ABS20
    * ADDR = zext24(abs20) | remap
@@ -3562,7 +3526,7 @@ OP_C8_8 ()
 
 /* storb.  */
 void
-OP_137_14 ()
+OP_137_14 (void)
 {
   /* storb REG, ABS24
    * ADDR = abs24
@@ -3577,7 +3541,7 @@ OP_137_14 ()
 
 /* storb.  */
 void
-OP_65_7 ()
+OP_65_7 (void)
 {
   /* storb REG, [Rindex]ABS20 
    * ADDR = Rindex + zext24(disp20)
@@ -3598,22 +3562,22 @@ OP_65_7 ()
 
 /* storb.  */
 void
-OP_F_4 ()
+OP_F_4 (void)
 {
   /* storb REG, DIPS4(REGP)
    * ADDR = RPBASE + zext24(DISP4)
    * [ADDR]  = REG.  */
 
   uint16 a = ((GPR (OP[0])) & 0xff);
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storb", OP_REG, OP_RP_BASE_DISPE4, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_FE_8 ()
+OP_FE_8 (void)
 {
   /* storb [Rindex]disp0(RPbasex) REG
    * ADDR = Rpbasex + Rindex
@@ -3634,105 +3598,105 @@ OP_FE_8 ()
 
 /* storb.  */
 void
-OP_319_A ()
+OP_319_A (void)
 {
   /* storb REG, [Rindex]disp14(RPbasex)
    * ADDR = Rpbasex + Rindex + zext24(disp14)
    * [ADDR] = REGR  */
 
   uint8 a = ((GPR (OP[0])) & 0xff);
-  trace_input ("storb", OP_REG, OP_RP_INDEX_DISP14, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_REG, OP_RP_INDEX_DISP14, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_194_14 ()
+OP_194_14 (void)
 {
   /* storb REG, DISPE20(REG) 
    * zext24(Rbase) + zext24(dispe20)
    * [ADDR] = REG  */
 
   uint8 a = ((GPR (OP[0])) & 0xff);
-  trace_input ("storb", OP_REG, OP_R_BASE_DISPE20, OP_VOID);
   uint32 addr = OP[1] + (GPR (OP[2]));
+  trace_input ("storb", OP_REG, OP_R_BASE_DISPE20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_134_14 ()
+OP_134_14 (void)
 {
   /* storb REG, DISP20(REG)
    * ADDR = zext24(Rbase) + zext24(disp20)
    * [ADDR] = REG                          */
 
   uint8 a = (GPR (OP[0]) & 0xff);
+  uint32 addr = OP[1] + (GPR (OP[2]));
   trace_input ("storb", OP_REG, OP_R_BASE_DISPS20, OP_VOID);
-  uint32 addr =  OP[1] + (GPR (OP[2]));
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_FF_8 ()
+OP_FF_8 (void)
 {
   /* storb REG, disp16(REGP)
    * ADDR = RPbase + zext24(disp16)
    * [ADDR] = REGP   */
 
   uint8 a = ((GPR (OP[0])) & 0xff);
-  trace_input ("storb", OP_REG, OP_RP_BASE_DISP16, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_REG, OP_RP_BASE_DISP16, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_135_14 ()
+OP_135_14 (void)
 {
   /* storb REG, disp20(REGP)
    * ADDR = RPbase + zext24(disp20)
    * [ADDR] = REGP   */
 
   uint8 a = ((GPR (OP[0])) & 0xff); 
-  trace_input ("storb", OP_REG, OP_RP_BASE_DISPS20, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_REG, OP_RP_BASE_DISPS20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_195_14 ()
+OP_195_14 (void)
 {
   /* storb REG, -disp20(REGP)
    * ADDR = RPbase + zext24(-disp20)
    * [ADDR] = REGP  */
 
   uint8 a = (GPR (OP[0]) & 0xff); 
-  trace_input ("storb", OP_REG, OP_RP_BASE_DISPE20, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_REG, OP_RP_BASE_DISPE20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_136_14 ()
+OP_136_14 (void)
 {
   /* storb REG, [Rindex]disp20(RPbase)
    * ADDR = RPbasex + Rindex + zext24(disp20)
    * [ADDR] = REGP   */
 
   uint8 a = (GPR (OP[0])) & 0xff;
-  trace_input ("storb", OP_REG, OP_RP_INDEX_DISPS20, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_REG, OP_RP_INDEX_DISPS20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
@@ -3740,29 +3704,29 @@ OP_136_14 ()
 /* STR_IMM instructions.  */
 /* storb . */
 void
-OP_81_8 ()
+OP_81_8 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_ABS20_OUTPUT, OP_VOID);
   uint32 addr = OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_ABS20_OUTPUT, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_123_14 ()
+OP_123_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_ABS24_OUTPUT, OP_VOID);
   uint32 addr = OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_ABS24_OUTPUT, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_42_7 ()
+OP_42_7 (void)
 {
   uint32 addr;
   uint8 a = (OP[0]) & 0xff;
@@ -3779,66 +3743,66 @@ OP_42_7 ()
 
 /* storb.  */
 void
-OP_218_A ()
+OP_218_A (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_RP_BASE_DISP14, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_RP_BASE_DISP14, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_82_8 ()
+OP_82_8 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_RP_INDEX_DISP0, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_RP_INDEX_DISP0, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_120_14 ()
+OP_120_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_R_BASE_DISPS20, OP_VOID);
   uint32 addr = (GPR (OP[2])) + OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_R_BASE_DISPS20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_83_8 ()
+OP_83_8 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_RP_BASE_DISP16, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_RP_BASE_DISP16, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_121_14 ()
+OP_121_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_RP_BASE_DISPS20, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_RP_BASE_DISPS20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
 
 /* storb.  */
 void
-OP_122_14 ()
+OP_122_14 (void)
 {
   uint8 a = (OP[0]) & 0xff;
-  trace_input ("storb", OP_CONSTANT4, OP_RP_INDEX_DISPS20, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storb", OP_CONSTANT4, OP_RP_INDEX_DISPS20, OP_VOID);
   SB (addr, a);
   trace_output_32 (addr);
 }
@@ -3846,29 +3810,29 @@ OP_122_14 ()
 
 /* storw . */
 void
-OP_C9_8 ()
+OP_C9_8 (void)
 {
   uint16 a = GPR (OP[0]);
-  trace_input ("storw", OP_REG, OP_ABS20_OUTPUT, OP_VOID);
   uint32 addr =  OP[1];
+  trace_input ("storw", OP_REG, OP_ABS20_OUTPUT, OP_VOID);
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_13F_14 ()
+OP_13F_14 (void)
 {
   uint16 a = GPR (OP[0]);
-  trace_input ("storw", OP_REG, OP_ABS24_OUTPUT, OP_VOID);
   uint32 addr =  OP[1];
+  trace_input ("storw", OP_REG, OP_ABS24_OUTPUT, OP_VOID);
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_67_7 ()
+OP_67_7 (void)
 {
   uint32 addr;
   uint16 a = GPR (OP[0]);
@@ -3886,99 +3850,99 @@ OP_67_7 ()
 
 /* storw.  */
 void
-OP_D_4 ()
+OP_D_4 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_REGP, OP_RP_BASE_DISPE4, OP_VOID);
-  uint32 addr = (GPR32 (OP[2])) + OP[1]; 
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_DE_8 ()
+OP_DE_8 (void)
 {
   uint16 a = GPR (OP[0]);
-  trace_input ("storw", OP_REG, OP_RP_INDEX_DISP0, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storw", OP_REG, OP_RP_INDEX_DISP0, OP_VOID);
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_31B_A ()
+OP_31B_A (void)
 {
   uint16 a = GPR (OP[0]);
-  trace_input ("storw", OP_REG, OP_RP_INDEX_DISP14, OP_VOID);
   uint32 addr = (GPR32 (OP[2])) + OP[1];
+  trace_input ("storw", OP_REG, OP_RP_INDEX_DISP14, OP_VOID);
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_19C_14 ()
+OP_19C_14 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_REGP, OP_RP_BASE_DISPE20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_13C_14 ()
+OP_13C_14 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR (OP[2])) + OP[1];
   trace_input ("storw", OP_REG, OP_R_BASE_DISPS20, OP_VOID);
-  uint32 addr =  (GPR (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_DF_8 ()
+OP_DF_8 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_REG, OP_RP_BASE_DISP16, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_13D_14 ()
+OP_13D_14 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_REG, OP_RP_BASE_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_19D_14 ()
+OP_19D_14 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_REG, OP_RP_BASE_DISPE20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_13E_14 ()
+OP_13E_14 (void)
 {
   uint16 a = (GPR (OP[0]));
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_REG, OP_RP_INDEX_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
@@ -3986,29 +3950,29 @@ OP_13E_14 ()
 /* STORE-w IMM instruction *****/
 /* storw . */
 void
-OP_C1_8 ()
+OP_C1_8 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_ABS20_OUTPUT, OP_VOID);
-  uint32 addr =  OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_133_14 ()
+OP_133_14 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_ABS24_OUTPUT, OP_VOID);
-  uint32 addr =  OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_62_7 ()
+OP_62_7 (void)
 {
   uint32 addr;
   uint16 a = OP[0];
@@ -4025,44 +3989,44 @@ OP_62_7 ()
 
 /* storw.  */
 void
-OP_318_A ()
+OP_318_A (void)
 {
   uint16 a = OP[0];
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_RP_BASE_DISP14, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_C2_8 ()
+OP_C2_8 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_RP_INDEX_DISP0, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_130_14 ()
+OP_130_14 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_R_BASE_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_C3_8 ()
+OP_C3_8 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_RP_BASE_DISP16, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
@@ -4070,22 +4034,22 @@ OP_C3_8 ()
 
 /* storw.  */
 void
-OP_131_14 ()
+OP_131_14 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_RP_BASE_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
 
 /* storw.  */
 void
-OP_132_14 ()
+OP_132_14 (void)
 {
   uint16 a = OP[0];
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("storw", OP_CONSTANT4, OP_RP_INDEX_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SW (addr, a);
   trace_output_32 (addr);
 }
@@ -4093,29 +4057,29 @@ OP_132_14 ()
 
 /* stord.  */
 void
-OP_C7_8 ()
+OP_C7_8 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = OP[1];
   trace_input ("stord", OP_REGP, OP_ABS20_OUTPUT, OP_VOID);
-  uint32 addr =  OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_13B_14 ()
+OP_13B_14 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = OP[1];
   trace_input ("stord", OP_REGP, OP_ABS24_OUTPUT, OP_VOID);
-  uint32 addr =  OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_66_7 ()
+OP_66_7 (void)
 {
   uint32 addr, a = GPR32 (OP[0]); 
   trace_input ("stord", OP_REGP, OP_R_INDEX8_ABS20, OP_VOID);
@@ -4131,106 +4095,106 @@ OP_66_7 ()
 
 /* stord.  */
 void
-OP_E_4 ()
+OP_E_4 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_BASE_DISPE4, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_EE_8 ()
+OP_EE_8 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_INDEX_DISP0, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_31A_A ()
+OP_31A_A (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_INDEX_DISP14, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_198_14 ()
+OP_198_14 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_R_BASE_DISPE20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_138_14 ()
+OP_138_14 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_R_BASE_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_EF_8 ()
+OP_EF_8 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_BASE_DISP16, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_139_14 ()
+OP_139_14 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_BASE_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_199_14 ()
+OP_199_14 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_BASE_DISPE20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* stord.  */
 void
-OP_13A_14 ()
+OP_13A_14 (void)
 {
   uint32 a = GPR32 (OP[0]); 
+  uint32 addr = (GPR32 (OP[2])) + OP[1];
   trace_input ("stord", OP_REGP, OP_RP_INDEX_DISPS20, OP_VOID);
-  uint32 addr =  (GPR32 (OP[2])) + OP[1];
   SLW (addr, a);
   trace_output_32 (addr);
 }
 
 /* macqu.  */
 void
-OP_14D_14 ()
+OP_14D_14 (void)
 {
   int32 tmp;
   int16 src1, src2;
@@ -4245,7 +4209,7 @@ OP_14D_14 ()
 
 /* macuw.  */
 void
-OP_14E_14 ()
+OP_14E_14 (void)
 {
   uint32 tmp;
   uint16 src1, src2;
@@ -4260,7 +4224,7 @@ OP_14E_14 ()
 
 /* macsw.  */
 void
-OP_14F_14 ()
+OP_14F_14 (void)
 {
   int32 tmp;
   int16 src1, src2;
@@ -4276,7 +4240,7 @@ OP_14F_14 ()
 
 /* mulb.  */
 void
-OP_64_8 ()
+OP_64_8 (void)
 {
   int16 tmp;
   int8 a = (OP[0]) & 0xff;
@@ -4289,7 +4253,7 @@ OP_64_8 ()
 
 /* mulb.  */
 void
-OP_64B_C ()
+OP_64B_C (void)
 {
   int16 tmp;
   int8 a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
@@ -4302,7 +4266,7 @@ OP_64B_C ()
 
 /* mulb.  */
 void
-OP_65_8 ()
+OP_65_8 (void)
 {
   int16 tmp;
   int8 a = (GPR (OP[0])) & 0xff, b = (GPR (OP[1])) & 0xff;
@@ -4315,7 +4279,7 @@ OP_65_8 ()
 
 /* mulw.  */
 void
-OP_66_8 ()
+OP_66_8 (void)
 {
   int32 tmp;
   uint16 a = OP[0];
@@ -4328,7 +4292,7 @@ OP_66_8 ()
 
 /* mulw.  */
 void
-OP_66B_C ()
+OP_66B_C (void)
 {
   int32 tmp;
   int16 a = OP[0], b = (GPR (OP[1]));
@@ -4341,7 +4305,7 @@ OP_66B_C ()
 
 /* mulw.  */
 void
-OP_67_8 ()
+OP_67_8 (void)
 {
   int32 tmp;
   int16 a = (GPR (OP[0])), b = (GPR (OP[1]));
@@ -4354,7 +4318,7 @@ OP_67_8 ()
 
 /* mulsb.  */
 void
-OP_B_8 ()
+OP_B_8 (void)
 {
   int16 tmp;
   int8 a = (GPR (OP[0])) & 0xff, b = (GPR (OP[1])) & 0xff;
@@ -4366,10 +4330,10 @@ OP_B_8 ()
 
 /* mulsw.  */
 void
-OP_62_8 ()
+OP_62_8 (void)
 {
-  int32 tmp, b = (GPR32 (OP[1]));
-  int16 a = (GPR (OP[0]));
+  int32 tmp
+  int16 a = (GPR (OP[0])), b = (GPR (OP[1]));
   trace_input ("mulsw", OP_REG, OP_REGP, OP_VOID);
   tmp = a * b;
   SET_GPR32 (OP[1], tmp);
@@ -4378,10 +4342,10 @@ OP_62_8 ()
 
 /* muluw.  */
 void
-OP_63_8 ()
+OP_63_8 (void)
 {
-  uint32 tmp, b = (GPR32 (OP[1]));
-  uint16 a = (GPR (OP[0]));
+  uint32 tmp;
+  uint16 a = (GPR (OP[0])), b = (GPR (OP[1]));
   trace_input ("muluw", OP_REG, OP_REGP, OP_VOID);
   tmp = a * b;
   SET_GPR32 (OP[1], tmp);
@@ -4391,7 +4355,7 @@ OP_63_8 ()
 
 /* nop.  */
 void
-OP_2C00_10 ()
+OP_2C00_10 (void)
 {
   trace_input ("nop", OP_VOID, OP_VOID, OP_VOID);
 
@@ -4413,7 +4377,7 @@ OP_2C00_10 ()
 
 /* orb.  */
 void
-OP_24_8 ()
+OP_24_8 (void)
 {
   uint8 tmp, a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("orb", OP_CONSTANT4, OP_REG, OP_VOID);
@@ -4424,7 +4388,7 @@ OP_24_8 ()
 
 /* orb.  */
 void
-OP_24B_C ()
+OP_24B_C (void)
 {
   uint8 tmp, a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("orb", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -4435,7 +4399,7 @@ OP_24B_C ()
 
 /* orb.  */
 void
-OP_25_8 ()
+OP_25_8 (void)
 {
   uint8 tmp, a = (GPR (OP[0])) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("orb", OP_REG, OP_REG, OP_VOID);
@@ -4446,7 +4410,7 @@ OP_25_8 ()
 
 /* orw.  */
 void
-OP_26_8 ()
+OP_26_8 (void)
 {
   uint16 tmp, a = (OP[0]), b = (GPR (OP[1]));
   trace_input ("orw", OP_CONSTANT4, OP_REG, OP_VOID);
@@ -4458,7 +4422,7 @@ OP_26_8 ()
 
 /* orw.  */
 void
-OP_26B_C ()
+OP_26B_C (void)
 {
   uint16 tmp, a = (OP[0]), b = (GPR (OP[1]));
   trace_input ("orw", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -4469,7 +4433,7 @@ OP_26B_C ()
 
 /* orw.  */
 void
-OP_27_8 ()
+OP_27_8 (void)
 {
   uint16 tmp, a = (GPR (OP[0])), b = (GPR (OP[1]));
   trace_input ("orw", OP_REG, OP_REG, OP_VOID);
@@ -4481,7 +4445,7 @@ OP_27_8 ()
 
 /* lshb.  */
 void
-OP_13_9 ()
+OP_13_9 (void)
 {
   uint16 a = OP[0];
   uint16 tmp, b = (GPR (OP[1])) & 0xFF;
@@ -4501,7 +4465,7 @@ OP_13_9 ()
 
 /* lshb.  */
 void
-OP_44_8 ()
+OP_44_8 (void)
 {
   uint16 a = (GPR (OP[0])) & 0xff;
   uint16 tmp, b = (GPR (OP[1])) & 0xFF;
@@ -4527,7 +4491,7 @@ OP_44_8 ()
 
 /* lshw.  */
 void
-OP_46_8 ()
+OP_46_8 (void)
 {
   uint16 tmp, b = GPR (OP[1]);
   int16 a = GPR (OP[0]);
@@ -4553,7 +4517,7 @@ OP_46_8 ()
 
 /* lshw.  */
 void
-OP_49_8 ()
+OP_49_8 (void)
 {
   uint16 tmp, b = GPR (OP[1]);
   uint16 a = OP[0];
@@ -4572,7 +4536,7 @@ OP_49_8 ()
 
 /* lshd.  */
 void
-OP_25_7 ()
+OP_25_7 (void)
 {
   uint32 tmp, b = GPR32 (OP[1]);
   uint16 a = OP[0];
@@ -4592,7 +4556,7 @@ OP_25_7 ()
 
 /* lshd.  */
 void
-OP_47_8 ()
+OP_47_8 (void)
 {
   uint32 tmp, b = GPR32 (OP[1]);
   uint16 a = GPR (OP[0]);
@@ -4618,7 +4582,7 @@ OP_47_8 ()
 
 /* ashub.  */
 void
-OP_80_9 ()
+OP_80_9 (void)
 {
   uint16 a = OP[0]; 
   int8 tmp, b = (GPR (OP[1])) & 0xFF;
@@ -4638,7 +4602,7 @@ OP_80_9 ()
 
 /* ashub.  */
 void
-OP_81_9 ()
+OP_81_9 (void)
 {
   uint16 a = OP[0]; 
   int8 tmp, b = (GPR (OP[1])) & 0xFF;
@@ -4659,7 +4623,7 @@ OP_81_9 ()
 
 /* ashub.  */
 void
-OP_41_8 ()
+OP_41_8 (void)
 {
   int16 a = (GPR (OP[0]));
   int8 tmp, b = (GPR (OP[1])) & 0xFF;
@@ -4688,7 +4652,7 @@ OP_41_8 ()
 
 /* ashuw.  */
 void
-OP_42_8 ()
+OP_42_8 (void)
 {
   int16 tmp, b = GPR (OP[1]);
   uint16 a = OP[0];
@@ -4708,7 +4672,7 @@ OP_42_8 ()
 
 /* ashuw.  */
 void
-OP_43_8 ()
+OP_43_8 (void)
 {
   int16 tmp, b = GPR (OP[1]);
   uint16 a = OP[0];
@@ -4727,7 +4691,7 @@ OP_43_8 ()
 
 /* ashuw.  */
 void
-OP_45_8 ()
+OP_45_8 (void)
 {
   int16 tmp;
   int16 a = GPR (OP[0]), b = GPR (OP[1]);
@@ -4754,7 +4718,7 @@ OP_45_8 ()
 
 /* ashud.  */
 void
-OP_26_7 ()
+OP_26_7 (void)
 {
   int32 tmp,b = GPR32 (OP[1]);
   uint32 a = OP[0];
@@ -4773,7 +4737,7 @@ OP_26_7 ()
 
 /* ashud.  */
 void
-OP_27_7 ()
+OP_27_7 (void)
 {
   int32 tmp;
   int32 a = OP[0], b = GPR32 (OP[1]);
@@ -4792,7 +4756,7 @@ OP_27_7 ()
 
 /* ashud.  */
 void
-OP_48_8 ()
+OP_48_8 (void)
 {
   int32 tmp;
   int32 a = GPR32 (OP[0]), b = GPR32 (OP[1]);
@@ -4819,7 +4783,7 @@ OP_48_8 ()
 
 /* storm.  */
 void
-OP_16_D ()
+OP_16_D (void)
 {
   uint32 addr = GPR (1);
   uint16 count = OP[0], reg = 2;
@@ -4849,7 +4813,7 @@ OP_16_D ()
 
 /* stormp.  */
 void
-OP_17_D ()
+OP_17_D (void)
 {
   uint32 addr = GPR32 (6);
   uint16 count = OP[0], reg = 2;
@@ -4877,7 +4841,7 @@ OP_17_D ()
 
 /* subb.  */
 void
-OP_38_8 ()
+OP_38_8 (void)
 {
   uint8 a = OP[0];
   uint8 b = (GPR (OP[1])) & 0xff;
@@ -4893,7 +4857,7 @@ OP_38_8 ()
 
 /* subb.  */
 void
-OP_38B_C ()
+OP_38B_C (void)
 {
   uint8 a = OP[0] & 0xFF;
   uint8 b = (GPR (OP[1])) & 0xFF;
@@ -4909,7 +4873,7 @@ OP_38B_C ()
 
 /* subb.  */
 void
-OP_39_8 ()
+OP_39_8 (void)
 {
   uint8 a = (GPR (OP[0])) & 0xFF;
   uint8 b = (GPR (OP[1])) & 0xFF;
@@ -4925,7 +4889,7 @@ OP_39_8 ()
 
 /* subw.  */
 void
-OP_3A_8 ()
+OP_3A_8 (void)
 {
   uint16 a = OP[0];
   uint16 b = GPR (OP[1]);
@@ -4941,7 +4905,7 @@ OP_3A_8 ()
 
 /* subw.  */
 void
-OP_3AB_C ()
+OP_3AB_C (void)
 {
   uint16 a = OP[0];
   uint16 b = GPR (OP[1]);
@@ -4957,7 +4921,7 @@ OP_3AB_C ()
 
 /* subw.  */
 void
-OP_3B_8 ()
+OP_3B_8 (void)
 {
   uint16 a = GPR (OP[0]);
   uint16 b = GPR (OP[1]);
@@ -4973,7 +4937,7 @@ OP_3B_8 ()
 
 /* subcb.  */
 void
-OP_3C_8 ()
+OP_3C_8 (void)
 {
   uint8 a = OP[0];
   uint8 b = (GPR (OP[1])) & 0xff;
@@ -4991,7 +4955,7 @@ OP_3C_8 ()
 
 /* subcb.  */
 void
-OP_3CB_C ()
+OP_3CB_C (void)
 {
   uint16 a = OP[0];
   uint16 b = (GPR (OP[1])) & 0xff;
@@ -5009,7 +4973,7 @@ OP_3CB_C ()
 
 /* subcb.  */
 void
-OP_3D_8 ()
+OP_3D_8 (void)
 {
   uint16 a = (GPR (OP[0])) & 0xff;
   uint16 b = (GPR (OP[1])) & 0xff;
@@ -5026,7 +4990,7 @@ OP_3D_8 ()
 
 /* subcw.  */
 void
-OP_3E_8 ()
+OP_3E_8 (void)
 {
   uint16 a = OP[0], b = (GPR (OP[1]));
   uint16 tmp1 = a + (PSR_C);
@@ -5042,7 +5006,7 @@ OP_3E_8 ()
 
 /* subcw.  */
 void
-OP_3EB_C ()
+OP_3EB_C (void)
 {
   int16 a = OP[0];
   uint16 b = GPR (OP[1]);
@@ -5059,7 +5023,7 @@ OP_3EB_C ()
 
 /* subcw.  */
 void
-OP_3F_8 ()
+OP_3F_8 (void)
 {
   uint16 a = (GPR (OP[0])), b = (GPR (OP[1]));
   uint16 tmp1 = a + (PSR_C);
@@ -5075,7 +5039,7 @@ OP_3F_8 ()
 
 /* subd.  */
 void
-OP_3_C ()
+OP_3_C (void)
 {
   int32 a = OP[0];
   uint32 b = GPR32 (OP[1]);
@@ -5092,7 +5056,7 @@ OP_3_C ()
 
 /* subd.  */
 void
-OP_14C_14 ()
+OP_14C_14 (void)
 {
   uint32 a = GPR32 (OP[0]);
   uint32 b = GPR32 (OP[1]);
@@ -5109,8 +5073,10 @@ OP_14C_14 ()
 
 /* excp.  */
 void
-OP_C_C ()
+OP_C_C (void)
 {
+  uint32 tmp;
+  uint16 a;
   trace_input ("excp", OP_CONSTANT4, OP_VOID, OP_VOID);
   switch (OP[0])
     {
@@ -5183,11 +5149,13 @@ OP_C_C ()
        switch (FUNC)
          {
 #if !defined(__GO32__) && !defined(_WIN32)
+#ifdef TARGET_SYS_fork
          case TARGET_SYS_fork:
            trace_input ("<fork>", OP_VOID, OP_VOID, OP_VOID);
            RETVAL (fork ());
            trace_output_16 (result);
            break;
+#endif
 
 #define getpid() 47
          case TARGET_SYS_getpid:
@@ -5324,12 +5292,14 @@ OP_C_C ()
              }
            break;
 
+#ifdef TARGET_SYS_execve
          case TARGET_SYS_execve:
            trace_input ("<execve>", OP_VOID, OP_VOID, OP_VOID);
            RETVAL (execve (MEMPTR (PARM1), (char **) MEMPTR (PARM2<<16|PARM3),
                             (char **)MEMPTR (PARM4)));
            trace_output_16 (result);
            break;
+#endif
 
 #ifdef TARGET_SYS_execv
          case TARGET_SYS_execv:
@@ -5339,6 +5309,7 @@ OP_C_C ()
            break;
 #endif
 
+#ifdef TARGET_SYS_pipe
          case TARGET_SYS_pipe:
            {
              reg_t buf;
@@ -5353,6 +5324,7 @@ OP_C_C ()
              trace_output_16 (result);
            }
          break;
+#endif
 
 #ifdef TARGET_SYS_wait
          case TARGET_SYS_wait:
@@ -5417,6 +5389,7 @@ OP_C_C ()
            trace_output_32 (result);
            break;
 
+#ifdef TARGET_SYS_rename
          case TARGET_SYS_rename:
            trace_input ("<rename>", OP_MEMREF, OP_MEMREF, OP_VOID);
            RETVAL (cr16_callback->rename (cr16_callback, 
@@ -5424,10 +5397,11 @@ OP_C_C ()
                                   MEMPTR ((((unsigned long)PARM4)<<16) |PARM3)));
            trace_output_16 (result);
            break;
+#endif
 
          case 0x408: /* REVISIT: Added a dummy getenv call. */
            trace_input ("<getenv>", OP_MEMREF, OP_MEMREF, OP_VOID);
-           RETVAL32(NULL);
+           RETVAL32 (0);
            trace_output_32 (result);
            break;
 
@@ -5476,11 +5450,13 @@ OP_C_C ()
            break;
 #endif
 
+#ifdef TARGET_SYS_chown
          case TARGET_SYS_chown:
            trace_input ("<chown>", OP_VOID, OP_VOID, OP_VOID);
            RETVAL (chown (MEMPTR (PARM1), PARM2, PARM3));
            trace_output_16 (result);
            break;
+#endif
 
          case TARGET_SYS_chmod:
            trace_input ("<chmod>", OP_VOID, OP_VOID, OP_VOID);
@@ -5507,9 +5483,24 @@ OP_C_C ()
 #endif
            
          default:
-           cr16_callback->error (cr16_callback, "Unknown syscall %d", FUNC);
+           a = OP[0];
+           switch (a)
+           {
+             case TRAP_BREAKPOINT:
+               State.exception = SIGTRAP;
+               tmp = (PC);
+               JMP(tmp);
+               trace_output_void ();
+               break;
+             case SIGTRAP:  /* supervisor call ?  */
+               State.exception = SIG_CR16_EXIT;
+               trace_output_void ();
+               break;
+             default:
+               cr16_callback->error (cr16_callback, "Unknown syscall %d", FUNC);
+               break;
+           }
          }
-
        if ((uint16) result == (uint16) -1)
          RETERR (cr16_callback->get_errno(cr16_callback));
        else
@@ -5522,7 +5513,7 @@ OP_C_C ()
 
 /* push.  */
 void
-OP_3_9 ()
+OP_3_9 (void)
 {
   uint16 a = OP[0] + 1, b = OP[1], c = OP[2], i = 0;
   uint32 tmp, sp_addr = (GPR32 (15)) - (a * 2) - 4, is_regp = 0;
@@ -5571,7 +5562,7 @@ OP_3_9 ()
 
 /* push.  */
 void
-OP_1_8 ()
+OP_1_8 (void)
 {
   uint32 sp_addr, tmp, is_regp = 0;
   uint16 a = OP[0] + 1, b = OP[1], c = OP[2], i = 0;
@@ -5629,7 +5620,7 @@ OP_1_8 ()
 
 /* push.   */
 void
-OP_11E_10 ()
+OP_11E_10 (void)
 {
   uint32 sp_addr = (GPR32 (15)), tmp;
   trace_input ("push", OP_VOID, OP_VOID, OP_VOID);
@@ -5642,7 +5633,7 @@ OP_11E_10 ()
 
 /* pop.   */
 void
-OP_5_9 ()
+OP_5_9 (void)
 {
   uint16 a = OP[0] + 1, b = OP[1], c = OP[2], i = 0;
   uint32 tmp, sp_addr = (GPR32 (15)), is_regp = 0;;
@@ -5695,7 +5686,7 @@ OP_5_9 ()
 
 /* pop.  */
 void
-OP_2_8 ()
+OP_2_8 (void)
 {
   uint16 a = OP[0] + 1, b = OP[1], c = OP[2], i = 0;
   uint32 tmp, sp_addr = (GPR32 (15)), is_regp = 0;
@@ -5749,7 +5740,7 @@ OP_2_8 ()
 
 /* pop.  */
 void
-OP_21E_10 ()
+OP_21E_10 (void)
 {
   uint32 sp_addr = GPR32 (15);
   uint32 tmp;
@@ -5764,7 +5755,7 @@ OP_21E_10 ()
 
 /* popret.  */
 void
-OP_7_9 ()
+OP_7_9 (void)
 {
   uint16 a = OP[0], b = OP[1];
   trace_input ("popret", OP_CONSTANT3, OP_REG, OP_REG);
@@ -5776,7 +5767,7 @@ OP_7_9 ()
 
 /* popret.  */
 void
-OP_3_8 ()
+OP_3_8 (void)
 {
   uint16 a = OP[0], b = OP[1];
   trace_input ("popret", OP_CONSTANT3, OP_REG, OP_VOID);
@@ -5788,7 +5779,7 @@ OP_3_8 ()
 
 /* popret.  */
 void
-OP_31E_10 ()
+OP_31E_10 (void)
 {
   uint32 tmp;
   trace_input ("popret", OP_VOID, OP_VOID, OP_VOID);
@@ -5813,7 +5804,7 @@ OP_31E_10 ()
 
 /* cinv[i].  */
 void
-OP_A_10 ()
+OP_A_10 (void)
 {
   trace_input ("cinv[i]", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5822,7 +5813,7 @@ OP_A_10 ()
 
 /* cinv[i,u].  */
 void
-OP_B_10 ()
+OP_B_10 (void)
 {
   trace_input ("cinv[i,u]", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5831,7 +5822,7 @@ OP_B_10 ()
 
 /* cinv[d].  */
 void
-OP_C_10 ()
+OP_C_10 (void)
 {
   trace_input ("cinv[d]", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5840,7 +5831,7 @@ OP_C_10 ()
 
 /* cinv[d,u].  */
 void
-OP_D_10 ()
+OP_D_10 (void)
 {
   trace_input ("cinv[i,u]", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5849,7 +5840,7 @@ OP_D_10 ()
 
 /* cinv[d,i].  */
 void
-OP_E_10 ()
+OP_E_10 (void)
 {
   trace_input ("cinv[d,i]", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5858,7 +5849,7 @@ OP_E_10 ()
 
 /* cinv[d,i,u].  */
 void
-OP_F_10 ()
+OP_F_10 (void)
 {
   trace_input ("cinv[d,i,u]", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5867,7 +5858,7 @@ OP_F_10 ()
 
 /* retx.  */
 void
-OP_3_10 ()
+OP_3_10 (void)
 {
   trace_input ("retx", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5876,7 +5867,7 @@ OP_3_10 ()
 
 /* di.  */
 void
-OP_4_10 ()
+OP_4_10 (void)
 {
   trace_input ("di", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5885,7 +5876,7 @@ OP_4_10 ()
 
 /* ei.  */
 void
-OP_5_10 ()
+OP_5_10 (void)
 {
   trace_input ("ei", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5894,7 +5885,7 @@ OP_5_10 ()
 
 /* wait.  */
 void
-OP_6_10 ()
+OP_6_10 (void)
 {
   trace_input ("wait", OP_VOID, OP_VOID, OP_VOID);
   State.exception = SIGTRAP;
@@ -5903,7 +5894,7 @@ OP_6_10 ()
 
 /* ewait.  */
 void
-OP_7_10 ()
+OP_7_10 (void)
 {
   trace_input ("ewait", OP_VOID, OP_VOID, OP_VOID);
   SET_PSR_I (1);
@@ -5912,7 +5903,7 @@ OP_7_10 ()
 
 /* xorb. */
 void
-OP_28_8 ()
+OP_28_8 (void)
 {
   uint8 tmp, a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("xorb", OP_CONSTANT4, OP_REG, OP_VOID);
@@ -5923,7 +5914,7 @@ OP_28_8 ()
 
 /* xorb.  */
 void
-OP_28B_C ()
+OP_28B_C (void)
 {
   uint8 tmp, a = (OP[0]) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("xorb", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -5934,7 +5925,7 @@ OP_28B_C ()
 
 /* xorb.  */
 void
-OP_29_8 ()
+OP_29_8 (void)
 {
   uint8 tmp, a = (GPR (OP[0])) & 0xff, b = (GPR (OP[1])) & 0xff;
   trace_input ("xorb", OP_REG, OP_REG, OP_VOID);
@@ -5945,7 +5936,7 @@ OP_29_8 ()
 
 /* xorw.  */
 void
-OP_2A_8 ()
+OP_2A_8 (void)
 {
   uint16 tmp, a = (OP[0]), b = (GPR (OP[1]));
   trace_input ("xorw", OP_CONSTANT4, OP_REG, OP_VOID);
@@ -5956,7 +5947,7 @@ OP_2A_8 ()
 
 /* xorw.  */
 void
-OP_2AB_C ()
+OP_2AB_C (void)
 {
   uint16 tmp, a = (OP[0]), b = (GPR (OP[1]));
   trace_input ("xorw", OP_CONSTANT16, OP_REG, OP_VOID);
@@ -5967,7 +5958,7 @@ OP_2AB_C ()
 
 /* xorw.  */
 void
-OP_2B_8 ()
+OP_2B_8 (void)
 {
   uint16 tmp, a = (GPR (OP[0])), b = (GPR (OP[1]));
   trace_input ("xorw", OP_REG, OP_REG, OP_VOID);
@@ -5980,7 +5971,7 @@ OP_2B_8 ()
 
 /* lpr.  */
 void
-OP_140_14 ()
+OP_140_14 (void)
 {
   uint16 a = GPR (OP[0]);
   trace_input ("lpr", OP_REG, OP_REG, OP_VOID);
@@ -5990,7 +5981,7 @@ OP_140_14 ()
 
 /* lprd.  */
 void
-OP_141_14 ()
+OP_141_14 (void)
 {
   uint32 a = GPR32 (OP[0]);
   trace_input ("lprd", OP_REGP, OP_REG, OP_VOID);
@@ -6000,7 +5991,7 @@ OP_141_14 ()
 
 /* spr.  */
 void
-OP_142_14 ()
+OP_142_14 (void)
 {
   uint16 a = CREG (OP[0]);
   trace_input ("spr", OP_REG, OP_REG, OP_VOID);
@@ -6010,7 +6001,7 @@ OP_142_14 ()
 
 /* sprd.  */
 void
-OP_143_14 ()
+OP_143_14 (void)
 {
   uint32 a = CREG (OP[0]);
   trace_input ("sprd", OP_REGP, OP_REGP, OP_VOID);
@@ -6020,7 +6011,7 @@ OP_143_14 ()
 
 /* null.  */
 void
-OP_0_20 ()
+OP_0_20 (void)
 {
   trace_input ("null", OP_VOID, OP_VOID, OP_VOID);
   State.exception = SIG_CR16_STOP;
This page took 0.070223 seconds and 4 git commands to generate.