brintos

brintos / llvm-project-archived public Read only

0
0
Text · 491 B · 2b62e0f Raw
29 lines · plain
1// RUN: llvm-mc -triple i386-apple-darwin9 %s -o -2// RUN: llvm-mc -triple i386-apple-darwin9 %s -o - -output-asm-variant=13 4	.text5	.align	4,0x906	.globl	_main7_main:8	pushl	%ebp9	movl	%esp, %ebp10	subl	$8, %esp11	call	"L1$pb"12"L1$pb":13	popl	%eax14	movl	$0, -4(%ebp)15	movl	%esp, %ecx16	leal	L_.str-"L1$pb"(%eax), %eax17	movl	%eax, (%ecx)18	call	_printf19	movl	$0, -4(%ebp)20	movl	-4(%ebp), %eax21	addl	$8, %esp22	popl	%ebp23	//ret24	.subsections_via_symbols25	.cstring26L_.str:27	.asciz	"hello world!\n"28 29