mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Add new test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f3023c180
commit
4a5c0fd70e
10
test/MC/X86/intel-syntax.s
Normal file
10
test/MC/X86/intel-syntax.s
Normal file
@ -0,0 +1,10 @@
|
||||
// RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel %s | FileCheck %s
|
||||
|
||||
// CHECK: movl $257, -4(%rsp)
|
||||
mov DWORD PTR [RSP - 4], 257
|
||||
// CHECK: movq $123, -16(%rsp)
|
||||
mov QWORD PTR [RSP - 16], 123
|
||||
// CHECK: movb $97, -17(%rsp)
|
||||
mov BYTE PTR [RSP - 17], 97
|
||||
// CHECK: movl -4(%rsp), %eax
|
||||
mov EAX, DWORD PTR [RSP - 4]
|
Loading…
x
Reference in New Issue
Block a user