From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: From: Anant Narayanan To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> In-Reply-To: <900eb6253a34482ccdc5dd52435c184d@terzarima.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: [9fans] Hello Assembly Date: Sun, 10 Feb 2008 01:47:20 +0530 References: <900eb6253a34482ccdc5dd52435c184d@terzarima.net> Topicbox-Message-UUID: 4de737c6-ead3-11e9-9d60-3106f5b1d025 > actually, there's probably enough space above your current location > to (appear to) work, but a further error > is hinted in the address given by the trap: > > 8.out 1183: suicide: invalid address 0x7 in sys call pc=0x104e > > since 7 is your length value, you've also got an off-by-4 error in > your stack offsets. In which direction, 4(SP) or -4(SP)? Both don't work, it still suicides but at different 'invalid addresses' and pc values :( -- Anant