aboutsummaryrefslogtreecommitdiff
path: root/opcodes/v850-opc.c
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 /opcodes/v850-opc.c
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.
Diffstat (limited to 'opcodes/v850-opc.c')
-rw-r--r--opcodes/v850-opc.c10
1 files changed, 5 insertions, 5 deletions
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 },
} ;