mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
26 lines
437 B
ArmAsm
26 lines
437 B
ArmAsm
|
@ RUN: not llvm-mc -triple thumbv7-eabi -mattr +thumb2 %s 2>&1 | FileCheck %s
|
||
|
|
||
|
.syntax unified
|
||
|
.text
|
||
|
.thumb
|
||
|
|
||
|
undefined:
|
||
|
udfpl
|
||
|
|
||
|
@ CHECK: error: instruction 'udf' is not predicable, but condition code specified
|
||
|
@ CHECK: udfpl
|
||
|
@ CHECK: ^
|
||
|
|
||
|
udf #256
|
||
|
|
||
|
@ CHECK: error: instruction requires: arm-mode
|
||
|
@ CHECK: udf #256
|
||
|
@ CHECK: ^
|
||
|
|
||
|
udf.w #65536
|
||
|
|
||
|
@ CHECK: error: invalid operand for instruction
|
||
|
@ CHECK: udf.w #65536
|
||
|
@ CHECK: ^
|
||
|
|