mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
4e692ab5ee
(like ARM) correctly. With this change, we can now match "bx lr" because we recognize lr as a register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117606 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
277 B
ArmAsm
14 lines
277 B
ArmAsm
@ RUN: llvm-mc -triple arm-unknown-unknown -show-encoding %s | FileCheck %s
|
|
|
|
@ CHECK: nop
|
|
@ CHECK: encoding: [0x00,0xf0,0x20,0xe3]
|
|
nop
|
|
|
|
@ CHECK: nopeq
|
|
@ CHECK: encoding: [0x00,0xf0,0x20,0x03]
|
|
nopeq
|
|
|
|
@ CHECK: bx lr
|
|
@ CHECK: encoding: [0x1e,0xff,0x2f,0xe1]
|
|
bx lr
|