mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Requested by nbjoerg! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132716 91177308-0d34-0410-b5e6-96231b3b80d8
66 lines
1.1 KiB
ArmAsm
66 lines
1.1 KiB
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
|
|
# CHECK: TEST0:
|
|
# CHECK: .byte 0
|
|
TEST0:
|
|
.byte 0
|
|
|
|
# CHECK: TEST1:
|
|
# CHECK: .short 3
|
|
TEST1:
|
|
.short 3
|
|
|
|
# CHECK: TEST2:
|
|
# CHECK: .long 8
|
|
TEST2:
|
|
.long 8
|
|
|
|
# CHECK: TEST3:
|
|
# CHECK: .quad 9
|
|
TEST3:
|
|
.quad 9
|
|
|
|
|
|
# rdar://7997827
|
|
TEST4:
|
|
.quad 0b0100
|
|
.quad 4294967295
|
|
.quad 4294967295+1
|
|
.quad 4294967295LL+1
|
|
.quad 0b10LL + 07ULL + 0x42AULL
|
|
# CHECK: TEST4
|
|
# CHECK: .quad 4
|
|
# CHECK: .quad 4294967295
|
|
# CHECK: .quad 4294967296
|
|
# CHECK: .quad 4294967296
|
|
# CHECK: .quad 1075
|
|
|
|
|
|
TEST5:
|
|
.value 8
|
|
# CHECK: TEST5:
|
|
# CHECK: .short 8
|
|
|
|
TEST6:
|
|
.byte 'c'
|
|
.byte '\''
|
|
.byte '\\'
|
|
.byte '\#'
|
|
.byte '\t'
|
|
.byte '\n'
|
|
|
|
# CHECK: TEST6
|
|
# CHECK: .byte 99
|
|
# CHECK: .byte 39
|
|
# CHECK: .byte 92
|
|
# CHECK: .byte 35
|
|
# CHECK: .byte 9
|
|
# CHECK: .byte 10
|
|
|
|
TEST7:
|
|
.byte 1, 2, 3, 4
|
|
# CHECK: .byte 1
|
|
# CHECK-NEXT: .byte 2
|
|
# CHECK-NEXT: .byte 3
|
|
# CHECK-NEXT: .byte 4
|