Developer's Handbook doubt

pablo caballero pdcvgmh at
Wed Dec 10 08:51:12 PST 2008

Hi comunity.

I'm a developer new in the FreeBSD world and I'm reading the handbook. I
have a doubt regarding the following code example (page 103):

push dword mode
push dword flags
push dword path
mov eax, 5
push eax ; Or any other dword
int 80h
add esp, byte 16

Why is required the "push eax;" sentence? (I guess a basic assembler concept
unknown to me)

Thank you very much


Pablo Caballero

More information about the freebsd-questions mailing list