Hi Arnab,

Which mcu are you using? On most the architecture does not allow indirect access to SFR's.

Maarten

> Hello,
>
>
> I want to know how address of SFR register can be passed as parameter to
> a function. This would allow me to access different SFR registers during
> function calls at different places and help reduce my code size.
>
>
> Thanks,
>
> Arnab
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to