.file "var1.cpp"
.text
globl main
.type main, @function
main:
LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
movq %rsp, %rbp
.cfi_offset 6, -16
.cfi_def_cfa_register 6
;; int x=5
movl $5, -4(%rbp)
;; Retrieve x into the CPU
movl -4(%rbp), %eax
;; Add 5 to x
addl $5, %eax
;; stores the result in y
movl %eax, -8(%rbp)
;; return 0;
movl $0, %eax
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
LFE0:
.size main, .-main
.ident "GCC: (NetBSD nb2 20110806) 4.5.3"