mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
19 lines
287 B
ArmAsm
19 lines
287 B
ArmAsm
|
@ RUN: llvm-mc -triple thumbv7-linux-gnueabi -o - %s | FileCheck %s
|
||
|
|
||
|
.syntax unified
|
||
|
|
||
|
.align 2
|
||
|
.global pool
|
||
|
.type pool,%function
|
||
|
pool:
|
||
|
ldr r0, =0xba5eba11
|
||
|
bx lr
|
||
|
.pool
|
||
|
|
||
|
@ CHECK-LABEL: pool
|
||
|
@ CHECK: ldr r0, .Ltmp0
|
||
|
@ CHECK: .align 2
|
||
|
@ CHECK-LABEL: .Ltmp0:
|
||
|
@ CHECK: .long 3126770193
|
||
|
|