* mn10300-opc.c (mn10300_opcodes): Fix typo in opcode

field for movhu instruction.
Bug found by gas testsuite.

        * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
        cast value to "long" not "signed long" to keep hpux10
        compiler quiet.
Found in an attempt to build the v850 on hpux10 with the HP
compiler.
This commit is contained in:
Jeff Law 1996-10-11 22:06:47 +00:00
parent 913a7c4cc4
commit 63dc694d29
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,14 @@
Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com)
* mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
field for movhu instruction.
start-sanitize-v850
* v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
cast value to "long" not "signed long" to keep hpux10
compiler quiet.
end-sanitize-v850
Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com)
* mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field

View File

@ -211,7 +211,7 @@ const struct mn10300_opcode mn10300_opcodes[] = {
{ "movhu", 0xfabc0000, 0xfffc0000, FMT_D2, {MEM2(D16, SP), DN0}},
{ "movhu", 0xfcbc0000, 0xfffc0000, FMT_D4, {MEM2(D32, SP), DN0}},
{ "movhu", 0xf480, 0xffc0, FMT_D0, {MEM2(DI, AM0), DN0}},
{ "movhu", 0xc80000, 0xfc0000, FMT_S2, {MEM(ABS16), DN0}},
{ "movhu", 0x380000, 0xfc0000, FMT_S2, {MEM(ABS16), DN0}},
{ "movhu", 0xfcac0000, 0xfffc0000, FMT_D4, {MEM(ABS32), DN0}},
{ "movhu", 0xf070, 0xfff0, FMT_D0, {DM1, MEM(AN0)}},
{ "movhu", 0xf87000, 0xfff000, FMT_D1, {DM1, MEM2(SD8, AN0)}},