aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/intel-syntax-ptr-sized.s
blob: c052c322b8011363cd73d60153a75b09d7746094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: llvm-mc %s -triple=i686-pc-windows | FileCheck %s

.intel_syntax

push [eax]
// CHECK: pushl (%eax)
call [eax]
// CHECK: calll *(%eax)
jmp [eax]
// CHECK: jmpl *(%eax)

// mode switch
.code16

push [eax]
// CHECK: pushw (%eax)
call [eax]
// CHECK: callw *(%eax)
jmp [eax]
// CHECK: jmpw *(%eax)