tic4x: sign extension using shifts
[deliverable/binutils-gdb.git] / opcodes / tic4x-dis.c
index 1d7946918b706418cd392eaa6804139cf6b3c2d1..34e270b71387ff53fa7139e04c9ae59f3fc37598 100644 (file)
@@ -148,8 +148,7 @@ tic4x_print_register (struct disassemble_info *info, unsigned long regno)
              = (tic4x_register_t *)(tic4x_registers + i);
        }
     }
-  if (regno > (IS_CPU_TIC4X (tic4x_version) ? TIC4X_REG_MAX : TIC3X_REG_MAX)
-      || registertable[regno] == NULL)
+  if (regno > (IS_CPU_TIC4X (tic4x_version) ? TIC4X_REG_MAX : TIC3X_REG_MAX))
     return 0;
   if (info != NULL)
     (*info->fprintf_func) (info->stream, "%s", registertable[regno]->name);
This page took 0.022902 seconds and 4 git commands to generate.