2009-10-29 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / opcodes / crx-dis.c
index 6675720d7defc19d5255e2110c44b56a9a6dff4c..c7524572614e0b3151e372b93a02706ddd059b64 100644 (file)
@@ -355,7 +355,7 @@ match_opcode (void)
   unsigned long mask;
 
   /* The instruction 'constant' opcode doewsn't exceed 32 bits.  */
-  unsigned long doubleWord = words[1] + (words[0] << 16);
+  unsigned long doubleWord = (words[1] + (words[0] << 16)) & 0xffffffff;
 
   /* Start searching from end of instruction table.  */
   instruction = &crx_instruction[NUMOPCODES - 2];
This page took 0.023645 seconds and 4 git commands to generate.