aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-08-29 17:11:13 +0000
committerJeff Law <law@redhat.com>1996-08-29 17:11:13 +0000
commite7f3e5fbbfa3908a8573ec24bf17e9a4abff8bba (patch)
treeef1f37977b13848fb3bbd9afc2d7da48e1350187
parent93f66767b9a162c4d5f1064f892c48997e76c686 (diff)
downloadgdb-e7f3e5fbbfa3908a8573ec24bf17e9a4abff8bba.zip
gdb-e7f3e5fbbfa3908a8573ec24bf17e9a4abff8bba.tar.gz
gdb-e7f3e5fbbfa3908a8573ec24bf17e9a4abff8bba.tar.bz2
* v850-opc.c (v850_opcodes): Fix opcode specs for
sld.w, sst.b, sst.h, sst.w, and nop.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/v850-opc.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index e3369c0..dd4af35 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 cb5c87f..c50023a 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 },
} ;