Re: Very newbie question...
Lorenzo <[email protected]>
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
Ah ok... now i understand some more things :) Thx :) Brian Raiter wrote: >As noted, you are confusing the function call method with the system >call method, and doing a little of both. You need to decide on one or >the other. > >If you want to make direct kernel system calls, then follow the code >that was posted earlier. Alternately, if you wanted to use the POSIX >functions, your code would look something like this: > >EXTERN write, _exit > >; ... > > push len > push hello > push 1 > call write > add esp, 12 > push 0 > call _exit > >b >- >To unsubscribe from this list: send the line "unsubscribe linux-assembly" in >the body of a message to [email protected] >More majordomo info at http://vger.kernel.org/majordomo-info.html > > > >