Re: [Sdcc-user] 8051 optimization question

2013-05-27 Thread Liam Staskawicz
ssary. Cheers, Liam On Mon, May 27, 2013 at 8:21 PM, wrote: > Date: Mon, 27 May 2013 13:12:56 +0200 (CEST) > From: "Maarten Brock" > Subject: Re: [Sdcc-user] 8051 optimization question > To: sdcc-user@lists.sourceforge.net > Message-ID: <42311.82.161.160.72.1369653176.sq

Re: [Sdcc-user] 8051 optimization question

2013-05-27 Thread Maarten Brock
Hello Liam, SDCC does not perform this optimization unless you tell it to with --acall-ajmp. This assumes that ALL lcall instructions can be replaced with ACALL independent of their address (it happens at compile time). In other words it assumes that everything is placed in the same 2kB. If your d