mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
ARM assembly parsing and encoding test for BX/BLX (register).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ded439886a
commit
6ea80e964b
@ -118,3 +118,19 @@ _func:
|
||||
@ fixup A - offset: 0, value: _bar, kind: fixup_arm_thumb_bl
|
||||
@ CHECK: blx _baz @ encoding: [A,0xf0'A',A,0xe8'A']
|
||||
@ fixup A - offset: 0, value: _baz, kind: fixup_arm_thumb_blx
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ BLX (register)
|
||||
@------------------------------------------------------------------------------
|
||||
blx r4
|
||||
|
||||
@ CHECK: blx r4 @ encoding: [0xa0,0x47]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ BX
|
||||
@------------------------------------------------------------------------------
|
||||
bx r2
|
||||
|
||||
@ CHECK: bx r2 @ encoding: [0x10,0x47]
|
||||
|
Loading…
x
Reference in New Issue
Block a user