• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
32