mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Add parsing for the Thumb t_addrmode_s4 addressing mode. This can almost
certainly be made more generic. But it does allow us to parse something like: ldr r3, [r2, r4] correctly in Thumb mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,3 +32,6 @@
|
||||
@ CHECK: uxth r3, r6 @ encoding: [0xb3,0xb2]
|
||||
uxtb r3, r6
|
||||
uxth r3, r6
|
||||
|
||||
@ CHECK: ldr r3, [r1, r2] @ encoding: [0x8b,0x58]
|
||||
ldr r3, [r1, r2]
|
||||
|
Reference in New Issue
Block a user