1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
.text .intel_syntax noprefix .globl f f: .LBL0: push rbp mov rbp, rsp mov eax, edi pop rbp ret .globl main main: .LBL0: push rbp mov rbp, rsp mov edi, 1 call f pop rbp ret