1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t
3# RUN: ld.lld -Ttext 0x7c00 %t -o %t2
4# RUN: llvm-objdump -s %t2 | FileCheck %s
5
6# CHECK:       Contents of section .text:
7# CHECK-NEXT:  7c00 b800ff
8
9.code16
10.global _start
11_start:
12 movw $_start+0x8300,%ax
13