llvm-6502/test/MC/ARM/thumb.s
Bill Wendling af2b573614 Add encoding for ARM "trap" instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119938 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-21 11:05:29 +00:00

12 lines
342 B
ArmAsm

@ RUN: llvm-mc -triple thumb-apple-darwin -show-encoding < %s | FileCheck %s
.code 16
@ CHECK: cmp r1, r2 @ encoding: [0x91,0x42]
cmp r1, r2
@ CHECK: pop {r1, r2, r4} @ encoding: [0x16,0xbc]
pop {r1, r2, r4}
@ CHECK: trap @ encoding: [0xfe,0xde]
trap