mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119938 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
342 B
ArmAsm
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
|