From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 26 Feb 2008 11:44:12 -0300 From: "Iruata Souza" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] assembly loading In-Reply-To: <025ae69d4970e65605ff59b1d972e1e7@vitanuova.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <025ae69d4970e65605ff59b1d972e1e7@vitanuova.com> Topicbox-Message-UUID: 61e7a044-ead3-11e9-9d60-3106f5b1d025 On Tue, Feb 26, 2008 at 11:45 AM, C H Forsyth wrote: > >for anyone wanting to know, it has been resolved thanks to jmk. > > >MOVW $setR30(SB), R30 > >right in the program beginning sets up the static base register. > > that should be done by _main, which is why i didn't suggest it. > ah, sure. in fact, this is a standalone program, so main is the real entry point for now. iru