1// RUN: llvm-mc %s -triple=i686-pc-windows | FileCheck %s
2
3.intel_syntax
4
5push [eax]
6// CHECK: pushl (%eax)
7call [eax]
8// CHECK: calll *(%eax)
9jmp [eax]
10// CHECK: jmpl *(%eax)
11
12lgdt [eax]
13// CHECK: lgdtl (%eax)
14lidt [eax]
15// CHECK: lidtl (%eax)
16sgdt [eax]
17// CHECK: sgdtl (%eax)
18sidt [eax]
19// CHECK: sidtl (%eax)
20
21// mode switch
22.code16
23
24push [eax]
25// CHECK: pushw (%eax)
26call [eax]
27// CHECK: callw *(%eax)
28jmp [eax]
29// CHECK: jmpw *(%eax)
30
31lgdt [eax]
32// CHECK: lgdtw (%eax)
33lidt [eax]
34// CHECK: lidtw (%eax)
35sgdt [eax]
36// CHECK: sgdtw (%eax)
37sidt [eax]
38// CHECK: sidtw (%eax)
39