From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] bug in asm.ps From: Brantley Coile Date: Mon, 6 Mar 2006 10:16:14 -0500 In-Reply-To: <599f06db0603060712l2fc621f1jbeaa3ad41d709d96@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-mkqdlunicjvbuwedzlbuxuuris" Topicbox-Message-UUID: 0ba64bce-ead1-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-mkqdlunicjvbuwedzlbuxuuris Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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. --upas-mkqdlunicjvbuwedzlbuxuuris Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by coraid.com; Mon Mar 6 10:12:52 EST 2006 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 95D03AB00 for ; Mon, 6 Mar 2006 10:12:51 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5292DAA05 for <9fans@cse.psu.edu>; Mon, 6 Mar 2006 10:12:36 -0500 (EST) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06565-01-46 for <9fans@cse.psu.edu>; Mon, 6 Mar 2006 10:12:35 -0500 (EST) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.181]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 65149A9EB for <9fans@cse.psu.edu>; Mon, 6 Mar 2006 10:12:35 -0500 (EST) Received: by pproxy.gmail.com with SMTP id n25so753298pyg for <9fans@cse.psu.edu>; Mon, 06 Mar 2006 07:12:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rcDsYNRlcKFbSD+n9KefXBgd1i1BZcsbjkp96C4eIUMxqNACOzEYZdLFbF0IilaFgCwUDlw7uZta3jHuSkYv2shGaTvID5NksxMATj0iRZMaA0UAFx5BJKqsspHqyma1QlOr6vAcY2t2rfnzq2uvty2C8n5+H9hsGCIBWL/fyng= Received: by 10.65.244.6 with SMTP id w6mr2643051qbr; Mon, 06 Mar 2006 07:12:34 -0800 (PST) Received: by 10.65.231.10 with HTTP; Mon, 6 Mar 2006 07:12:34 -0800 (PST) Message-ID: <599f06db0603060712l2fc621f1jbeaa3ad41d709d96@mail.gmail.com> Date: Mon, 6 Mar 2006 16:12:34 +0100 From: "Gorka guardiola" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at cse.psu.edu Subject: [9fans] bug in asm.ps X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+brantley=coraid.com@cse.psu.edu Errors-To: 9fans-bounces+brantley=coraid.com@cse.psu.edu 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 --upas-mkqdlunicjvbuwedzlbuxuuris--