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 STRB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7291272ab2
commit
76ca6d9bcd
@ -2215,6 +2215,52 @@ _func:
|
||||
@ CHECK: str.w r7, [sp, r2] @ encoding: [0x4d,0xf8,0x02,0x70]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ STRB(immediate)
|
||||
@------------------------------------------------------------------------------
|
||||
strb r5, [r5, #-4]
|
||||
strb r5, [r6, #32]
|
||||
strb r5, [r6, #33]
|
||||
strb r5, [r6, #257]
|
||||
strb.w lr, [r7, #257]
|
||||
strb r5, [r8, #255]!
|
||||
strb r2, [r5, #4]!
|
||||
strb r1, [r4, #-4]!
|
||||
strb lr, [r3], #255
|
||||
strb r9, [r2], #4
|
||||
strb r3, [sp], #-4
|
||||
|
||||
@ CHECK: strb r5, [r5, #-4] @ encoding: [0x05,0xf8,0x04,0x5c]
|
||||
@ CHECK: strb.w r5, [r6, #32] @ encoding: [0x86,0xf8,0x20,0x50]
|
||||
@ CHECK: strb.w r5, [r6, #33] @ encoding: [0x86,0xf8,0x21,0x50]
|
||||
@ CHECK: strb.w r5, [r6, #257] @ encoding: [0x86,0xf8,0x01,0x51]
|
||||
@ CHECK: strb.w lr, [r7, #257] @ encoding: [0x87,0xf8,0x01,0xe1]
|
||||
@ CHECK: strb r5, [r8, #255]! @ encoding: [0x08,0xf8,0xff,0x5f]
|
||||
@ CHECK: strb r2, [r5, #4]! @ encoding: [0x05,0xf8,0x04,0x2f]
|
||||
@ CHECK: strb r1, [r4, #-4]! @ encoding: [0x04,0xf8,0x04,0x1d]
|
||||
@ CHECK: strb lr, [r3], #255 @ encoding: [0x03,0xf8,0xff,0xeb]
|
||||
@ CHECK: strb r9, [r2], #4 @ encoding: [0x02,0xf8,0x04,0x9b]
|
||||
@ CHECK: strb r3, [sp], #-4 @ encoding: [0x0d,0xf8,0x04,0x39]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ STRB(register)
|
||||
@------------------------------------------------------------------------------
|
||||
strb r1, [r8, r1]
|
||||
strb.w r4, [r5, r2]
|
||||
strb r6, [r0, r2, lsl #3]
|
||||
strb r8, [r8, r2, lsl #2]
|
||||
strb r7, [sp, r2, lsl #1]
|
||||
strb r7, [sp, r2, lsl #0]
|
||||
|
||||
@ CHECK: strb.w r1, [r8, r1] @ encoding: [0x08,0xf8,0x01,0x10]
|
||||
@ CHECK: strb.w r4, [r5, r2] @ encoding: [0x05,0xf8,0x02,0x40]
|
||||
@ CHECK: strb.w r6, [r0, r2, lsl #3] @ encoding: [0x00,0xf8,0x32,0x60]
|
||||
@ CHECK: strb.w r8, [r8, r2, lsl #2] @ encoding: [0x08,0xf8,0x22,0x80]
|
||||
@ CHECK: strb.w r7, [sp, r2, lsl #1] @ encoding: [0x0d,0xf8,0x12,0x70]
|
||||
@ CHECK: strb.w r7, [sp, r2] @ encoding: [0x0d,0xf8,0x02,0x70]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ SUB (register)
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user