Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.libraries Subject: Re: SsVabTransfer locks up! Date: Thu, 16 Jul 1998 10:36:54 +0100 Organization: Sony Computer Entertainment Europe Lines: 15 Message-ID: <35ADC9B6.64475D04@scee.sony.co.uk> References: <359E82E9.1134@dial.pipex.com> <35a17582.898850637@news.scea.sony.com> <35A5E635.6368@dial.pipex.com> <35AC619C.3A76@dial.pipex.com> NNTP-Posting-Host: camfw01.millennium.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Chris Chadwick wrote: > > Now, I dont know much about this inline assembler stuff but the above code > (now that I look at it!) seems to be setting the stack pointer register > to the BOTTOM of the DCache memory. I'd assumed the stack would 'grow' > downwards in memory, not up. 0x1f8003f0 is one word less than the top address of D-Cache (which is 1024 bytes long). That's what the stack is being set to in your code, so it is the _top_ of the D-Cache. -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe A sufficiently advanced god would use evolution.