mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Thumb2 assembly parsing and encoding for LDRSHT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a315a99093
commit
56806c2997
@ -849,6 +849,20 @@ _func:
|
||||
@ CHECK: @ fixup A - offset: 0, value: _bar, kind: fixup_t2_ldst_pcrel_12
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDRSHT
|
||||
@------------------------------------------------------------------------------
|
||||
ldrsht r1, [r2]
|
||||
ldrsht r1, [r8, #0]
|
||||
ldrsht r1, [r8, #3]
|
||||
ldrsht r1, [r8, #255]
|
||||
|
||||
@ CHECK: ldrsht r1, [r2] @ encoding: [0x32,0xf9,0x00,0x1e]
|
||||
@ CHECK: ldrsht r1, [r8] @ encoding: [0x38,0xf9,0x00,0x1e]
|
||||
@ CHECK: ldrsht r1, [r8, #3] @ encoding: [0x38,0xf9,0x03,0x1e]
|
||||
@ CHECK: ldrsht r1, [r8, #255] @ encoding: [0x38,0xf9,0xff,0x1e]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ IT
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user