view test/MC/X86/address-size.s @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children 54457678186b
line wrap: on
line source

// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s

	.code64
	movb	$0x0, (%esi)
// CHECK: encoding: [0x67,0xc6,0x06,0x00]
	movb	$0x0, (%rsi)
// CHECK: encoding: [0xc6,0x06,0x00]

	.code32
	movb	$0x0, (%si)
// CHECK: encoding: [0x67,0xc6,0x06,0x00]
	movb	$0x0, (%esi)
// CHECK: encoding: [0xc6,0x06,0x00]