comparison paper/src/cbc_example_test.s @ 63:eaa7a127027b

add asm
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Wed, 03 Feb 2021 13:30:03 +0900
parents
children
comparison
equal deleted inserted replaced
62:45395005373f 63:eaa7a127027b
1 codegear1:
2 .LFB0:
3 .cfi_startproc
4 pushq %rbp
5 .cfi_def_cfa_offset 16
6 .cfi_offset 6, -16
7 movq %rsp, %rbp
8 .cfi_def_cfa_register 6
9 movl %edi, %eax
10 movq %rsi, %rcx
11 movq %rcx, %rdx
12 movq %rax, -32(%rbp)
13 movq %rdx, -24(%rbp)
14 movl -32(%rbp), %eax
15 addl $1, %eax
16 movl %eax, -16(%rbp)
17 movq -24(%rbp), %rax
18 movq %rax, -8(%rbp)
19 movl -16(%rbp), %edx
20 movq -8(%rbp), %rax
21 movl %edx, %edi
22 movq %rax, %rsi
23 popq %rbp
24 .cfi_def_cfa 7, 8
25 jmp codegear2
26 .cfi_endproc
27 .LFE0:
28 .size codegear1, .-codegear1
29 .section .rodata
30 .LC0:
31 .string "Hello"
32 .text
33 .globl codegear2
34 .type codegear2, @function