repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git]
/
test
/
MC
/
Mips
/
asciiz-directive.s
blob
0e582145c7189567632dacd3d0dc91b2ba73d5e2
1
# RUN: llvm-mc -triple mips-unknown-linux %s | FileCheck %s
2
# .asciiz is exactly the same as .asciz, except it's MIPS-specific.
3
4
t1
:
5
.asciiz
6
# CHECK-LABEL: t1
7
8
t2
:
9
.asciiz
"a"
10
# CHECK-LABEL: t2
11
# CHECK: .byte 97
12
# CHECK: .byte 0
13
14
t3
:
15
.asciiz
"a"
,
"b"
,
"c"
16
# CHECK-LABEL: t3
17
# CHECK: .byte 97
18
# CHECK: .byte 0
19
# CHECK: .byte 98
20
# CHECK: .byte 0
21
# CHECK: .byte 99
22
# CHECK: .byte 0
23
24
t4
:
25
.asciiz
"abcdefghijklmnop"
26
# CHECK-LABEL: t4
27
# CHECK: .ascii "abcdefghijklmnop"
28
# CHECK: .byte 0