view paper/src/cbc_example_test.s @ 111:4642d2f215d2

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sat, 06 Feb 2021 15:42:26 +0900
parents eaa7a127027b
children
line wrap: on
line source

codegear1:
.LFB0:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, %eax
	movq	%rsi, %rcx
	movq	%rcx, %rdx
	movq	%rax, -32(%rbp)
	movq	%rdx, -24(%rbp)
	movl	-32(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -16(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, -8(%rbp)
	movl	-16(%rbp), %edx
	movq	-8(%rbp), %rax
	movl	%edx, %edi
	movq	%rax, %rsi
	popq	%rbp
	.cfi_def_cfa 7, 8
	jmp	codegear2
	.cfi_endproc
.LFE0:
	.size	codegear1, .-codegear1
	.section	.rodata
.LC0:
	.string	"Hello"
	.text
	.globl	codegear2
	.type	codegear2, @function