You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
450 B
15 lines
450 B
@ RUN: llvm-mc < %s -triple thumbv7m-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s
|
|
@ RUN: llvm-mc < %s -triple thumbv7em-apple-macho -filetype=obj | llvm-objdump -macho -d - | FileCheck %s
|
|
|
|
.thumb
|
|
.thumb_func _t
|
|
_t:
|
|
@ A nice Cortex-M only instruction to make sure the default CPU is sound.
|
|
msr msp, r0
|
|
.short 0xf000
|
|
b _t
|
|
|
|
@ CHECK: msr msp, r0
|
|
@ CHECK: .short 0xf000
|
|
@ CHECK: b _t
|