mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
21 lines
294 B
ArmAsm
21 lines
294 B
ArmAsm
|
@ RUN: llvm-mc -triple=arm < %s | FileCheck %s
|
||
|
.syntax unified
|
||
|
_foo:
|
||
|
|
||
|
OBJECT .req r2
|
||
|
mov r4, OBJECT
|
||
|
mov r4, oBjEcT
|
||
|
.unreq oBJECT
|
||
|
|
||
|
_foo2:
|
||
|
OBJECT .req r5
|
||
|
mov r4, OBJECT
|
||
|
.unreq OBJECT
|
||
|
|
||
|
@ CHECK-LABEL: _foo:
|
||
|
@ CHECK: mov r4, r2
|
||
|
@ CHECK: mov r4, r2
|
||
|
|
||
|
@ CHECK-LABEL: _foo2:
|
||
|
@ CHECK: mov r4, r5
|