On 18/06/2014 15:16, "Maarten Brock" <sourceforge.br...@dse.nl> wrote:
>
>When you use __at without initializer however, SDCC does not allocate and
>you can define another variable (with __at) at the same address. It will
>also not zero the variable at startup. This is probably exactly what you
>need for a hardware register.

Exactly, thanks. But what about access efficiency? If I just declare
the variable in the header and define it (with __at) in the c file,
is the code generated to to read/write the variable different from
if I just define it in the header?


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.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to