tic4x: sign extension using shifts
[deliverable/binutils-gdb.git] / gas / config / tc-tic4x.c
index 913120d9abacd0d0e044d895d03c69832a26f24f..cc477b62bbca1d626e05d94e3e4d7ba46a91accf 100644 (file)
@@ -2193,7 +2193,7 @@ tic4x_operands_match (tic4x_inst_t *inst, tic4x_insn_t *tinsn, int check)
                }
              else if (exp->X_add_number < 32 && IS_CPU_TIC3X (tic4x_cpu))
                {
-                 INSERTU (opcode, exp->X_add_number | 0x20, 4, 0);
+                 INSERTU (opcode, exp->X_add_number | 0x20, 5, 0);
                  continue;
                }
              else
This page took 0.024079 seconds and 4 git commands to generate.