I know I can create a parameter in the C file itself and use it in
assembly(this is what sdcc generates), I want to know about the internal
registers of the 8051. Can I use any?
On Sat, May 14, 2016 at 8:03 PM, php mania <phpmani...@gmail.com> wrote:
> Hi,
>
> I am using the 8051 and am compiling using the SDCC. I have a C function
> which calls an assembly function. This assembly function needs to do a lot
> of tasks and I need to be able to use the registers as well as RAM to
> complete the task. However, I am not really sure how to find if these
> registers I am using is being used by some other function in the same C
> program. Is there anyway to access some registers and create some local
> variables and use them in my assembly program for a given function(I am
> inlining assembly) ?
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user