mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Thumb parsing and encoding for STRB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
803b1aa8ef
commit
aec3a61c8b
@ -465,3 +465,23 @@ _func:
|
||||
str r2, [r7, r3]
|
||||
|
||||
@ CHECK: str r2, [r7, r3] @ encoding: [0xfa,0x50]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ STRB (immediate)
|
||||
@------------------------------------------------------------------------------
|
||||
strb r4, [r3]
|
||||
strb r5, [r6, #0]
|
||||
strb r6, [r7, #31]
|
||||
|
||||
@ CHECK: strb r4, [r3] @ encoding: [0x1c,0x70]
|
||||
@ CHECK: strb r5, [r6] @ encoding: [0x35,0x70]
|
||||
@ CHECK: strb r6, [r7, #31] @ encoding: [0xfe,0x77]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ STRB (register)
|
||||
@------------------------------------------------------------------------------
|
||||
strb r6, [r4, r5]
|
||||
|
||||
@ CHECK: strb r6, [r4, r5] @ encoding: [0x66,0x55]
|
||||
|
Loading…
x
Reference in New Issue
Block a user