From: Kustaa N. <Kus...@pl...> - 2014-06-18 12:00:41
|
On 18/06/2014 14:48, "Maarten Brock" <sou...@ds...> wrote: >Hello Kusti, > >Though I have no problem with your proposed change, it's probably not >exactly as you expect here. That's why I asked ;) > Like the manual says, when a variable has an >absolute location but no initializer it is not allocated by the >compiler/linker. Hmm....can you elaborate a bit...as this is just a hardware register I do not want it to be allocated...but that of course depends on what allocated means here. My worry is that the access to it might be slower if the compiler/assembler does not see the full definition. >This is due to backward compatibility. I haven't checked >for the pic code, but this how SDCC works in general and I assume the pic >target to be no different. Thank you for answering! br Kusti This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on or as of transmission of this e-mail in general. |