mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
12 lines
380 B
ArmAsm
12 lines
380 B
ArmAsm
|
// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err
|
||
|
// RUN: FileCheck < %t.err %s
|
||
|
|
||
|
.intel_syntax
|
||
|
|
||
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
||
|
lea rax, [rdi + rdx*64]
|
||
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
||
|
lea rax, [rdi + rdx*32]
|
||
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
||
|
lea rax, [rdi + rdx*16]
|