9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Brantley Coile <brantley@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bug in asm.ps
Date: Mon,  6 Mar 2006 10:16:14 -0500	[thread overview]
Message-ID: <f04b712f0b310711e3569cafe2abb12f@coraid.com> (raw)
In-Reply-To: <599f06db0603060712l2fc621f1jbeaa3ad41d709d96@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

SP doesn't point to the last automatic on the stack.
Not only is the automatics on the local stack, but also
temporaries, like the ones to hold parameters to a function.
If you call any functions 4(SP) is the second parameter to functions.

[-- Attachment #2: Type: message/rfc822, Size: 3030 bytes --]

From: "Gorka guardiola" <paurea@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] bug in asm.ps
Date: Mon, 6 Mar 2006 16:12:34 +0100
Message-ID: <599f06db0603060712l2fc621f1jbeaa3ad41d709d96@mail.gmail.com>

If I have undertood correctly SP points to the last automatic in the top of
the stack, so 4(SP) is the last-1 automatic and so on, so, the document
"A Manual for the Plan 9 assembler" is wrong, at least for 8c/8l.

Am I right?.
--
- curiosity sKilled the cat

  reply	other threads:[~2006-03-06 15:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06 15:12 Gorka guardiola
2006-03-06 15:16 ` Brantley Coile [this message]
2006-03-06 15:31   ` Gorka guardiola
2006-03-06 15:36     ` Brantley Coile
2006-03-06 15:53       ` Russ Cox
2006-03-06 16:05         ` Brantley Coile
2006-03-06 16:17           ` Russ Cox
2006-03-06 16:22             ` Brantley Coile
2006-03-06 16:28               ` Russ Cox
2006-03-06 16:33                 ` Gorka guardiola
2006-03-06 16:56                   ` Charles Forsyth
2006-03-06 16:16         ` Gorka guardiola

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=f04b712f0b310711e3569cafe2abb12f@coraid.com \
    --to=brantley@coraid.com \
    --cc=9fans@cse.psu.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).