* v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
authorJeff Law <law@redhat.com>
Fri, 23 Aug 1996 19:32:41 +0000 (19:32 +0000)
committerJeff Law <law@redhat.com>
Fri, 23 Aug 1996 19:32:41 +0000 (19:32 +0000)
        correct.  Get sld.[bhw] and sst.[bhw] closer.

opcodes/ChangeLog
opcodes/v850-opc.c

index 4ddc4025cd30053ea7cc39b7d4e7c670e6bb1921..825f8f30aa4646db0d51c23fb7b4e243342af87e 100644 (file)
@@ -1,6 +1,9 @@
 start-sanitize-v850
 Fri Aug 23 00:27:01 1996  Jeffrey A Law  (law@cygnus.com)
 
+       * v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
+       correct.  Get sld.[bhw] and sst.[bhw] closer.
+
        * v850-opc.c (v850_operands): "not" is a two byte insn
 
        * v850-opc.c (v850_opcodes): Correct bit pattern for setf.
index 2bb8c07d0a3f501e38da91102ac309a6045e67fd..902b33c106bb9b9faf9a7b81f8580e6b684e5fe0 100644 (file)
@@ -129,19 +129,19 @@ const struct v850_operand v850_operands[] = {
 
 const struct v850_opcode v850_opcodes[] = {
 /* load/store instructions */
-{ "sld.b",     OP(0x00),               OP_MASK,        IF4A, 2 },
-{ "sld.h",     OP(0x00),               OP_MASK,        IF4C, 2 },
-{ "sld.w",     OP(0x00),               OP_MASK,        IF4C, 2 },
+{ "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 },
 
-{ "ld.b",      OP(0x00),               OP_MASK,        IF7A, 4 },
-{ "ld.h",      OP(0x00),               OP_MASK,        IF7A, 4 },
-{ "ld.w",      OP(0x00),               OP_MASK,        IF7A, 4 },
-{ "st.b",      OP(0x00),               OP_MASK,        IF7B, 4 },
-{ "st.h",      OP(0x00),               OP_MASK,        IF7B, 4 },
-{ "st.w",      OP(0x00),               OP_MASK,        IF7B, 4 },
+{ "ld.b",      two(0x0700,0x0000),     two (0x07e0,0x0000),    IF7A, 4 },
+{ "ld.h",      two(0x0720,0x0000),     two (0x07e0,0x0001),    IF7A, 4 },
+{ "ld.w",      two(0x0720,0x0001),     two (0x07e0,0x0001),    IF7A, 4 },
+{ "st.b",      two(0x0740,0x0000),     two (0x07e0,0x0000),    IF7B, 4 },
+{ "st.h",      two(0x0760,0x0000),     two (0x07e0,0x0001),    IF7B, 4 },
+{ "st.w",      two(0x0760,0x0001),     two (0x07e0,0x0001),    IF7B, 4 },
 
 /* arithmetic operation instructions */
 { "mov",        OP(0x00),              OP_MASK,        IF1, 2 },
This page took 0.033958 seconds and 4 git commands to generate.