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 | 85c5b0ab2ecd2e52a1aa0ac53c5acde0acc64a5b (patch) | |
tree | 779576e034b662ca54db521e90a7843992d08341 /opcodes/sh-dis.c | |
parent | b562564d710ff47bf0a9ca0e15adac0f7ec013b8 (diff) | |
download | binutils-redhat-85c5b0ab2ecd2e52a1aa0ac53c5acde0acc64a5b.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 e5fa9d2330..ed472dc304 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: |