mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
12 lines
330 B
ArmAsm
12 lines
330 B
ArmAsm
|
@ RUN: llvm-mc -triple=armv7-apple-darwin -show-encoding < %s | FileCheck %s
|
||
|
.syntax unified
|
||
|
bar:
|
||
|
fred .req r5
|
||
|
mov r11, fred
|
||
|
.unreq fred
|
||
|
fred .req r6
|
||
|
mov r1, fred
|
||
|
|
||
|
@ CHECK: mov r11, r5 @ encoding: [0x05,0xb0,0xa0,0xe1]
|
||
|
@ CHECK: mov r1, r6 @ encoding: [0x06,0x10,0xa0,0xe1]
|