1# RUN: not llvm-mc -triple armv7 %s 2>&1| FileCheck %s
2
3.arm
4
5ADC r0, r1, #0xFFFFFEEE
6# CHECK: error: invalid instruction, any one of the following would fix this:
7# CHECK: note: invalid operand for instruction
8# CHECK: note: operand must be a register in range [r0, r15]
9ADC r0, r1, #0xABFEABFF
10# CHECK: error: invalid instruction, any one of the following would fix this:
11# CHECK: note: invalid operand for instruction
12# CHECK: note: operand must be a register in range [r0, r15]
13ADC r0, r1, #0xFFFFFE02
14# CHECK: error: invalid instruction, any one of the following would fix this:
15# CHECK: note: invalid operand for instruction
16# CHECK: note: operand must be a register in range [r0, r15]
17
18ADD.W r0, r0, #0xFF01FF01
19# CHECK: error: invalid instruction, any one of the following would fix this:
20# CHECK: note: invalid operand for instruction
21# CHECK: note: operand must be a register in range [r0, r15]
22
23ORR r0, r1, #0xFFFFFF00
24# CHECK: error: invalid instruction, any one of the following would fix this:
25# CHECK: note: invalid operand for instruction
26# CHECK: note: operand must be a register in range [r0, r15]
27# CHECK: note: instruction requires: thumb2
28ORN r0, r1, #0xFFFFFF00
29# CHECK: error: instruction requires: thumb2
30