mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Intel syntax: Robustify memory operand parsing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -8,3 +8,11 @@
|
||||
mov BYTE PTR [RSP - 17], 97
|
||||
// CHECK: movl -4(%rsp), %eax
|
||||
mov EAX, DWORD PTR [RSP - 4]
|
||||
// CHECK: movq (%rsp), %rax
|
||||
mov RAX, QWORD PTR [RSP]
|
||||
// CHECK: movl $-4, -4(%rsp)
|
||||
mov DWORD PTR [RSP - 4], -4
|
||||
// CHECK: movq 0, %rcx
|
||||
mov RCX, QWORD PTR [0]
|
||||
// CHECK: movl -24(%rsp,%rax,4), %eax
|
||||
mov EAX, DWORD PTR [RSP + 4*RAX - 24]
|
||||
|
Reference in New Issue
Block a user