2004-02-23 Andrew Stubbs <andrew.stubbs@superh.com>
[deliverable/binutils-gdb.git] / opcodes / sh-dis.c
index 70fdffb48e87487f13aa8a37666549bb6efab6cf..2512f966d358210e4c2387b6c423a7558387c9ea 100644 (file)
@@ -577,12 +577,21 @@ print_insn_sh (memaddr, info)
            case IMM1_8BY4:
              imm = ((nibs[2] << 4) | nibs[3]) << 2;
              goto ok;
+           case REG_N_D:
+             if ((nibs[n] & 1) != 0)
+               goto fail;
+             /* fall through */
            case REG_N:
              rn = nibs[n];
              break;
            case REG_M:
              rm = nibs[n];
              break;
+           case REG_N_B01:
+             if ((nibs[n] & 0x3) != 1 /* binary 01 */)
+               goto fail;
+             rn = (nibs[n] & 0xc) >> 2;
+             break;
            case REG_NM:
              rn = (nibs[n] & 0xc) >> 2;
              rm = (nibs[n] & 0x3);
This page took 0.025256 seconds and 4 git commands to generate.