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 LDRB(register).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab899c1bcc
commit
489c693f65
@ -573,6 +573,24 @@ _func:
|
||||
@ CHECK: ldrb.w lr, [r7, #257] @ encoding: [0x97,0xf8,0x01,0xe1]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDRB(register)
|
||||
@------------------------------------------------------------------------------
|
||||
ldrb r1, [r8, r1]
|
||||
ldrb.w r4, [r5, r2]
|
||||
ldrb r6, [r0, r2, lsl #3]
|
||||
ldrb r8, [r8, r2, lsl #2]
|
||||
ldrb r7, [sp, r2, lsl #1]
|
||||
ldrb r7, [sp, r2, lsl #0]
|
||||
|
||||
@ CHECK: ldrb.w r1, [r8, r1] @ encoding: [0x18,0xf8,0x01,0x10]
|
||||
@ CHECK: ldrb.w r4, [r5, r2] @ encoding: [0x15,0xf8,0x02,0x40]
|
||||
@ CHECK: ldrb.w r6, [r0, r2, lsl #3] @ encoding: [0x10,0xf8,0x32,0x60]
|
||||
@ CHECK: ldrb.w r8, [r8, r2, lsl #2] @ encoding: [0x18,0xf8,0x22,0x80]
|
||||
@ CHECK: ldrb.w r7, [sp, r2, lsl #1] @ encoding: [0x1d,0xf8,0x12,0x70]
|
||||
@ CHECK: ldrb.w r7, [sp, r2] @ encoding: [0x1d,0xf8,0x02,0x70]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ IT
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user