diff options
author | Nick Clifton <nickc@redhat.com> | 2001-10-09 12:25:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-10-09 12:25:22 +0000 |
commit | ddb682659b12f61f84142872ed6b32fef3918cff (patch) | |
tree | 86af5750044bf096516e46f9d01533c7bfbd8f7e /opcodes/sh-dis.c | |
parent | 0e2ee3ca05685dd15a9aa629d3a7dd1a686e6351 (diff) | |
download | binutils-gdb-ddb682659b12f61f84142872ed6b32fef3918cff.tar.gz |
fix encoding & decoding of DSP single data transfer instructions
Diffstat (limited to 'opcodes/sh-dis.c')
-rw-r--r-- | opcodes/sh-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |