mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
16 lines
227 B
ArmAsm
16 lines
227 B
ArmAsm
|
// RUN: llvm-mc -triple x86_64-linux-gnu %s | FileCheck %s
|
||
|
.macro abc arg:vararg=nop
|
||
|
\arg
|
||
|
.endm
|
||
|
|
||
|
.macro abcd arg0=%eax arg1:vararg=%ebx
|
||
|
movl \arg0, \arg1
|
||
|
.endm
|
||
|
|
||
|
.text
|
||
|
|
||
|
// CHECK: nop
|
||
|
abc
|
||
|
// CHECK: movl %eax, %ebx
|
||
|
abcd ,
|