mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
f2115a0b0d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214871 91177308-0d34-0410-b5e6-96231b3b80d8
27 lines
854 B
ArmAsm
27 lines
854 B
ArmAsm
@ RUN: not llvm-mc -triple=thumbv7m-apple-darwin -show-encoding < %s 2> %t
|
|
@ RUN: FileCheck < %t %s
|
|
@ RUN: not llvm-mc -triple=thumbv6m -show-encoding < %s 2> %t
|
|
@ RUN: FileCheck < %t %s
|
|
.syntax unified
|
|
.globl _func
|
|
|
|
@ Check that the assembler rejects thumb instructions that are not valid
|
|
@ on mclass.
|
|
|
|
@------------------------------------------------------------------------------
|
|
@ BLX (immediate)
|
|
@------------------------------------------------------------------------------
|
|
blx _baz
|
|
|
|
@ CHECK: error: instruction requires: !armv*m
|
|
|
|
@------------------------------------------------------------------------------
|
|
@ SETEND
|
|
@------------------------------------------------------------------------------
|
|
|
|
setend be
|
|
setend le
|
|
|
|
@ CHECK: error: invalid operand for instruction
|
|
@ CHECK: error: invalid operand for instruction
|