mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Testcases for ARM assembly BLX/BL instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fff76ee7ef
commit
37023b05c8
@ -318,3 +318,20 @@ _func:
|
||||
|
||||
@ CHECK: bkpt #10 @ encoding: [0x7a,0x00,0x20,0xe1]
|
||||
@ CHECK: bkpt #65535 @ encoding: [0x7f,0xff,0x2f,0xe1]
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ BL/BLX (immediate)
|
||||
@------------------------------------------------------------------------------
|
||||
|
||||
bl _bar
|
||||
@ FIXME: blx _bar
|
||||
|
||||
blx r2
|
||||
blxne r2
|
||||
|
||||
@ CHECK: bl _bar @ encoding: [A,A,A,0xeb]
|
||||
@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_arm_uncondbranch
|
||||
@ CHECK: blx r2 @ encoding: [0x32,0xff,0x2f,0xe1]
|
||||
@ CHECK: blxne r2 @ encoding: [0x32,0xff,0x2f,0x11]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user