From ddb682659b12f61f84142872ed6b32fef3918cff Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Oct 2001 12:25:22 +0000 Subject: fix encoding & decoding of DSP single data transfer instructions --- opcodes/sh-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/sh-dis.c') diff --git a/opcodes/sh-dis.c b/opcodes/sh-dis.c index e5fa9d2330d..ed472dc3045 100644 --- a/opcodes/sh-dis.c +++ b/opcodes/sh-dis.c @@ -465,7 +465,7 @@ print_insn_shx (memaddr, info) if ((rn & 0xc) != 4) goto fail; rn = rn & 0x3; - rn |= (rn & 2) << 1; + rn |= (!(rn & 2)) << 2; break; case PPI: case REPEAT: -- cgit v1.2.1