From: Jeff Law Date: Thu, 29 Aug 1996 17:11:13 +0000 (+0000) Subject: * v850-opc.c (v850_opcodes): Fix opcode specs for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7f3e5fbbfa3908a8573ec24bf17e9a4abff8bba;p=binutils-gdb.git * v850-opc.c (v850_opcodes): Fix opcode specs for sld.w, sst.b, sst.h, sst.w, and nop. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e3369c0b214..dd4af35e162 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,4 +1,9 @@ start-sanitize-v850 +Thu Aug 29 11:10:46 1996 Jeffrey A Law (law@cygnus.com) + + * v850-opc.c (v850_opcodes): Fix opcode specs for + sld.w, sst.b, sst.h, sst.w, and nop. + Wed Aug 28 15:55:43 1996 Jeffrey A Law (law@cygnus.com) * v850-opc.c (v850_opcodes): Add null opcode to mark the diff --git a/opcodes/v850-opc.c b/opcodes/v850-opc.c index cb5c87f7b06..c50023a27ff 100644 --- a/opcodes/v850-opc.c +++ b/opcodes/v850-opc.c @@ -139,10 +139,10 @@ const struct v850_opcode v850_opcodes[] = { /* load/store instructions */ { "sld.b", one(0x0300), one(0x0780), IF4A, 2 }, { "sld.h", one(0x0400), one(0x0780), IF4A, 2 }, -{ "sld.w", one(0x0500), one(0x0780), IF4A, 2 }, -{ "sst.b", OP(0x00), OP_MASK, IF4B, 2 }, -{ "sst.h", OP(0x00), OP_MASK, IF4D, 2 }, -{ "sst.w", OP(0x00), OP_MASK, IF4D, 2 }, +{ "sld.w", one(0x0500), one(0x0781), IF4A, 2 }, +{ "sst.b", one(0x0380), one(0x0780), IF4B, 2 }, +{ "sst.h", one(0x0480), one(0x0780), IF4D, 2 }, +{ "sst.w", one(0x0501), one(0x0781), IF4D, 2 }, { "ld.b", two(0x0700,0x0000), two (0x07e0,0x0000), IF7A, 4 }, { "ld.h", two(0x0720,0x0000), two (0x07e0,0x0001), IF7A, 4 }, @@ -236,7 +236,7 @@ const struct v850_opcode v850_opcodes[] = { { "trap", two(0x07e0,0x0100), two(0xffe0,0xffff), {I5U}, 4 }, { "ldsr", two(0x07e0,0x0020), two(0x07e0,0xffff), {R2,SR1}, 4 }, { "stsr", two(0x07e0,0x0040), two(0x07e0,0xffff), {SR1,R2}, 4 }, -{ "nop", one(0x00), one(0xff), {0}, 2 }, +{ "nop", one(0x00), one(0xffff), {0}, 2 }, { 0, 0, 0, {0}, 0 }, } ;