2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* crx-dis.c (match_opcode): Truncate mcode to 32-bit.
This commit is contained in:
parent
d5e7ea07f5
commit
4ded9dda7c
2 changed files with 5 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue