Unified · Split
| @@ -865,7 +865,8 @@ static void asm_shift_opcode(TCCState *s1, int token) · 864 unmodified lines | |||
| 865 | case OP_IM8: | 865 | case OP_IM8: |
| 866 | operands |= ENCODE_IMMEDIATE_FLAG; | 866 | operands |= ENCODE_IMMEDIATE_FLAG; |
| 867 | operands |= ops[1].e.v; | 867 | operands |= ops[1].e.v; |
| 868 | break; | 868 | tcc_error("Using an immediate value as the source operand is not possible with '%s' instruction on ARM", get_tok_str(token, NULL)); |
| 869 | return; | ||
| 869 | } | 870 | } |
| 870 | 871 | ||
| 871 | switch (ops[2].type) { | 872 | switch (ops[2].type) { |