gas/testsuite/
[deliverable/binutils-gdb.git] / opcodes / iq2000-asm.c
index 0ec59ce324343efff805457e90cf61d981ff2ab0..0fbc03fd4b9e19559d348126acf66a72510ff9da 100644 (file)
@@ -213,8 +213,8 @@ parse_hi16 (CGEN_CPU_DESC cd,
             1 to the resultant %hi value.  */
          if (value & 0x8000)
            value += 0x10000;
-         value &= 0xffff;
          value >>= 16;
+         value &= 0xffff;
        }
       *valuep = value;
 
@@ -474,6 +474,9 @@ iq2000_cgen_init_asm (CGEN_CPU_DESC cd)
   iq2000_cgen_init_ibld_table (cd);
   cd->parse_handlers = & iq2000_cgen_parse_handlers[0];
   cd->parse_operand = iq2000_cgen_parse_operand;
+#ifdef CGEN_ASM_INIT_HOOK
+CGEN_ASM_INIT_HOOK
+#endif
 }
 
 \f
This page took 0.03286 seconds and 4 git commands to generate.