mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Thumb assembly parsing and encoding for LSR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
560ef9f2fe
commit
c7ebca335d
@ -278,3 +278,21 @@ _func:
|
||||
lsls r2, r6
|
||||
|
||||
@ CHECK: lsls r2, r6 @ encoding: [0xb2,0x40]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LSR (immediate)
|
||||
@------------------------------------------------------------------------------
|
||||
lsrs r1, r3, #1
|
||||
lsrs r1, r3, #32
|
||||
|
||||
@ CHECK: lsrs r1, r3, #1 @ encoding: [0x59,0x08]
|
||||
@ CHECK: lsrs r1, r3, #32 @ encoding: [0x19,0x08]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LSR (register)
|
||||
@------------------------------------------------------------------------------
|
||||
lsrs r2, r6
|
||||
|
||||
@ CHECK: lsrs r2, r6 @ encoding: [0xf2,0x40]
|
||||
|
Loading…
Reference in New Issue
Block a user