From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sat, 26 Jun 2004 10:27:53 -0400 From: Latchesar Ionkov To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] which register is used as FP on the x86 In-Reply-To: <90a3e63881750a184ef8b70e226c99ae@vitanuova.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <90a3e63881750a184ef8b70e226c99ae@vitanuova.com> Topicbox-Message-UUID: aefcc950-eacd-11e9-9e20-41e7f4b1d025 This approach doesn't work if the compiler supports variable length arrays. Fortunately (or unfortunately, depending on your preferences) the Plan9 compiler doesn't suport them. Thanks, Lucho On Fri, 25 Jun 2004 18:53:48 +0100, rog@vitanuova.com wrote: > > no register is dedicated as a frame pointer. > > if you know the PC, you can find out the FP from the SP. > >