From: Lorenzo <lollo_c@alice.it>
To: linux-assembly@vger.kernel.org
Subject: Re: Very newbie question...
Date: Sat, 12 Nov 2005 08:35:50 +0100 [thread overview]
Message-ID: <43759B56.200@alice.it> (raw)
In-Reply-To: <17269.16302.176560.847323@eidolon.muppetlabs.com>
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 majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
>
next prev parent reply other threads:[~2005-11-12 7:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 23:05 Very newbie question Lorenzo
2005-11-11 23:16 ` John Rodriguez
2005-11-12 1:04 ` Brian Raiter
2005-11-12 7:35 ` Lorenzo [this message]
2005-11-12 7:34 ` Lorenzo
2005-11-11 23:29 ` Frederic Marmond
2005-11-12 7:35 ` Lorenzo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43759B56.200@alice.it \
--to=lollo_c@alice.it \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.