sebastiano.tronto.net

Source files and build scripts for my personal website
git clone https://git.tronto.net/sebastiano.tronto.net
Download | Log | Files | Refs | README

main2.s (1093B)


      1 	.text
      2 	.file	"main2.c"
      3 	.globl	foo                             # -- Begin function foo
      4 	.p2align	4, 0x90
      5 	.type	foo,@function
      6 foo:                                    # @foo
      7 	.cfi_startproc
      8 # %bb.0:
      9 	imull	$42, %edi, %ecx
     10 	imull	$-69, %esi, %eax
     11 	addl	%ecx, %eax
     12 	retq
     13 .Lfunc_end0:
     14 	.size	foo, .Lfunc_end0-foo
     15 	.cfi_endproc
     16                                         # -- End function
     17 	.globl	main                            # -- Begin function main
     18 	.p2align	4, 0x90
     19 	.type	main,@function
     20 main:                                   # @main
     21 	.cfi_startproc
     22 # %bb.0:
     23 	pushq	%rax
     24 	.cfi_def_cfa_offset 16
     25 	leaq	.L.str(%rip), %rdi
     26 	movl	$351, %esi                      # imm = 0x15F
     27 	xorl	%eax, %eax
     28 	callq	printf@PLT
     29 	xorl	%eax, %eax
     30 	popq	%rcx
     31 	.cfi_def_cfa_offset 8
     32 	retq
     33 .Lfunc_end1:
     34 	.size	main, .Lfunc_end1-main
     35 	.cfi_endproc
     36                                         # -- End function
     37 	.type	.L.str,@object                  # @.str
     38 	.section	.rodata.str1.1,"aMS",@progbits,1
     39 .L.str:
     40 	.asciz	"%d\n"
     41 	.size	.L.str, 4
     42 
     43 	.ident	"clang version 15.0.7"
     44 	.section	".note.GNU-stack","",@progbits
     45 	.addrsig