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
[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git]
/
test
/
MC
/
AsmParser
/
dot-symbol-assignment.s
blob
65651d77485e8c094dfafa9d0ca0d4d0e278242a
1
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3
.extern start
4
5
# CHECK: .org 1024, 0
6
. = 0x400
7
lgdt
0x400
+
0x100
8
9
ljmpl $
0x08
,
$
(
0x400
+
0x150
)
10
11
12
# CHECK: .org 1280, 0
13
. = 0x400 + 0x100
14
.word (3*8)-1
15
.quad (0x400 + 0x110)
16
17
# CHECK: .org 1296, 0
18
. = 0x400 + 0x110
19
.quad 0x0
20
.quad 0x0020980000000000
21
.quad 0x0000900000000000
22
23
.code64
24
25
# CHECK: .org 1360, 0
26
. = 0x400 + 0x150
27
movabsq $start
, %
rcx
28
jmp
*%
rcx
29
30
31
. = 0x300