view test/MC/X86/intel-syntax-ptr-sized.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 54457678186b
children c2174574ed3a
line wrap: on
line source

// 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)