[Sdcc-user] Using registers in C functions which are unused

2016-05-14 Thread php mania
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 regist

Re: [Sdcc-user] Using registers in C functions which are unused

2016-05-14 Thread php mania
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 wrote: > Hi, > > I am using the 8051 and am compiling using th

Re: [Sdcc-user] Using registers in C functions which are unused

2016-05-15 Thread php mania
an 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 wrote: > > > >> Hi, > >&