        ; FILE "return1.c"
        SECTION .text
GLOBAL foo

foo: 
        push    ebp             ; set up stack frame
        mov     ebp,esp

        mov     eax, [ebp+8]    ; load actual parameter
        add     eax,1           ; add one, leave return value in EAX

        pop     ebp             ; take down stack frame
        ret

